[html5] r4279 - [c] (0) Encourage better error messages from validators for ARIA issues.

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 22 18:03:00 PDT 2009


Author: ianh
Date: 2009-10-22 18:02:56 -0700 (Thu, 22 Oct 2009)
New Revision: 4279

Modified:
   complete.html
   index
   source
Log:
[c] (0) Encourage better error messages from validators for ARIA issues.

Modified: complete.html
===================================================================
--- complete.html	2009-10-23 00:54:09 UTC (rev 4278)
+++ complete.html	2009-10-23 01:02:56 UTC (rev 4279)
@@ -9532,6 +9532,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>
 
 

Modified: index
===================================================================
--- index	2009-10-23 00:54:09 UTC (rev 4278)
+++ index	2009-10-23 01:02:56 UTC (rev 4279)
@@ -9362,6 +9362,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>
 
 

Modified: source
===================================================================
--- source	2009-10-23 00:54:09 UTC (rev 4278)
+++ source	2009-10-23 01:02:56 UTC (rev 4279)
@@ -9677,6 +9677,17 @@
   elements</span> 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</code>
+  element is marked as having the <code
+  title="attr-aria-role-button">button</code> role, a conformance
+  checker could say "Either a <code>button</code> element or an
+  <code>input</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</code> elements".</p>
+
   </div>
 
 




More information about the Commit-Watchers mailing list