Skip to content
Permalink
Browse files

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

git-svn-id: http://svn.whatwg.org/webapps@4279 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 23, 2009
1 parent b09d159 commit 7e2e7807dda630c0bcd726203d102a3ddb8a83ed
Showing with 29 additions and 0 deletions.
  1. +9 −0 complete.html
  2. +9 −0 index
  3. +11 −0 source
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>


9 index
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>


11 source
@@ -9677,6 +9677,17 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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>


0 comments on commit 7e2e780

Please sign in to comment.
You can’t perform that action at this time.