Skip to content
Permalink
Browse files
[e] (0) Try giving a better suggestion.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10496

git-svn-id: http://svn.whatwg.org/webapps@5426 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 7, 2010
1 parent 46acf21 commit a670c45c410784e7e568466e9b77eb65af372e86
Showing 3 changed files with 16 additions and 16 deletions.
@@ -10999,10 +10999,10 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
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 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>
checker could say "Use a more appropriate element to represent a
button, for example a <code><a href=#the-button-element>button</a></code> element or an
<code><a href=#the-input-element>input</a></code> element" 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>

@@ -11016,7 +11016,7 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
features described in this section, one can instead make the ATs
skip the ASCII art and just read the caption:</p>

<pre>&lt;figure <strong>role="img" aria-labelledby="fish-caption"</strong>&gt;
<pre>&lt;figure <strong>role="img" aria-labeledby="fish-caption"</strong>&gt;
&lt;pre&gt;
o .'`/
' / (
10 index
@@ -10976,10 +10976,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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 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>
checker could say "Use a more appropriate element to represent a
button, for example a <code><a href=#the-button-element>button</a></code> element or an
<code><a href=#the-input-element>input</a></code> element" 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>

@@ -10993,7 +10993,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
features described in this section, one can instead make the ATs
skip the ASCII art and just read the caption:</p>

<pre>&lt;figure <strong>role="img" aria-labelledby="fish-caption"</strong>&gt;
<pre>&lt;figure <strong>role="img" aria-labeledby="fish-caption"</strong>&gt;
&lt;pre&gt;
o .'`/
' / (
12 source
@@ -11354,11 +11354,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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 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>
checker could say "Use a more appropriate element to represent a
button, for example a <code>button</code> element or an
<code>input</code> element" rather than "The <code
title="attr-aria-role-button">button</code> role cannot be used with
<code>a</code> elements".</p>

</div>

@@ -11372,7 +11372,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
features described in this section, one can instead make the ATs
skip the ASCII art and just read the caption:</p>

<pre>&lt;figure <strong>role="img" aria-labelledby="fish-caption"</strong>>
<pre>&lt;figure <strong>role="img" aria-labeledby="fish-caption"</strong>>
&lt;pre>
o .'`/
' / (

0 comments on commit a670c45

Please sign in to comment.