hixie: Encourage better error messages from validators for ARIA issues. (whatwg r4279)

hixie: Encourage better error messages from validators for ARIA issues.
(whatwg r4279)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3419&r2=1.3420&f=h
http://html5.org/tools/web-apps-tracker?from=4278&to=4279

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3419
retrieving revision 1.3420
diff -u -d -r1.3419 -r1.3420
--- Overview.html 23 Oct 2009 00:41:04 -0000 1.3419
+++ Overview.html 23 Oct 2009 00:50:21 -0000 1.3420
@@ -8335,6 +8335,15 @@
   elements</a> in a manner more fine-grained than possible with the
   above definitions.</p>
 
+  <p>Conformance checkers are encouraged to phrase errors such that
+  authors are encouraged to use more appropriate elements rather than
+  remove accessibility annotations. For example, if an <code><a href="#the-a-element">a</a></code>
+  element is marked as having the <code title="attr-aria-role-button">button</code> role, a conformance
+  checker could say "Either a <code><a href="#the-button-element">button</a></code> element or an
+  <code><a href="#the-input-element">input</a></code> element is required to when using the <code title="attr-aria-role-button">button</code> role" rather than "The
+  <code title="attr-aria-role-button">button</code> role cannot be
+  used with <code><a href="#the-a-element">a</a></code> elements".</p>
+
   </div><h3 id="apis-in-html-documents"><span class="secno">3.3 </span>APIs in HTML documents</h3><p class="XXX annotation"><b>Status: </b><i>Awaiting implementation feedback</i><p>For <a href="#html-documents">HTML documents</a>, and for <a href="#html-elements">HTML
   elements</a> in <a href="#html-documents">HTML documents</a>, certain APIs defined
   in DOM Core become case-insensitive or case-changing, as sometimes

Received on Friday, 23 October 2009 00:51:00 UTC