Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 7e2e780
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions complete.html
Expand Up @@ -9532,6 +9532,15 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
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>


Expand Down
9 changes: 9 additions & 0 deletions index
Expand Up @@ -9362,6 +9362,15 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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>


Expand Down
11 changes: 11 additions & 0 deletions source
Expand Up @@ -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>


Expand Down

0 comments on commit 7e2e780

Please sign in to comment.