Skip to content

Commit

Permalink
[agiow] (1) ARIA for <img src>.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10485

git-svn-id: http://svn.whatwg.org/webapps@5422 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 7, 2010
1 parent 22f31d9 commit 8a2c836
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion complete.html
Expand Up @@ -10880,6 +10880,10 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<td>No role
<td>If specified, role must be either <code title=attr-aria-role-application>application</code>, <code title=attr-aria-role-document>document</code>, or <code title=attr-aria-role-image>image</code>

<tr><td><code><a href=#the-img-element>img</a></code> element whose <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute's value is absent
<td><code title=attr-aria-role-img>img</code> role
<td>No restrictions

<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href=#checkbox-state title=attr-input-type-checkbox>Checkbox</a> state
<td><code title=attr-aria-role-checkbox>checkbox</code> role
<td>Role must be either <code title=attr-aria-role-checkbox>checkbox</code> or <code title=attr-aria-role-menuitemcheckbox>menuitemcheckbox</code>
Expand Down Expand Up @@ -10953,7 +10957,6 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<code><a href=#the-figure-element>figure</a></code>,
<code><a href=#the-form-element>form</a></code>,
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>&ndash;<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> in <code><a href=#the-hgroup-element>hgroup</a></code>,
<code><a href=#the-img-element>img</a></code> (unless the <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute's value is the empty string),
<code><a href=#the-ins-element>ins</a></code>,
<code><a href=#the-kbd-element>kbd</a></code>,
<code><a href=#the-label-element>label</a></code> (unless it has an <a href=#assigned-access-key>assigned access key</a>),
Expand Down
5 changes: 4 additions & 1 deletion index
Expand Up @@ -10857,6 +10857,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td>No role
<td>If specified, role must be either <code title=attr-aria-role-application>application</code>, <code title=attr-aria-role-document>document</code>, or <code title=attr-aria-role-image>image</code>

<tr><td><code><a href=#the-img-element>img</a></code> element whose <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute's value is absent
<td><code title=attr-aria-role-img>img</code> role
<td>No restrictions

<tr><td><code><a href=#the-input-element>input</a></code> element with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href=#checkbox-state title=attr-input-type-checkbox>Checkbox</a> state
<td><code title=attr-aria-role-checkbox>checkbox</code> role
<td>Role must be either <code title=attr-aria-role-checkbox>checkbox</code> or <code title=attr-aria-role-menuitemcheckbox>menuitemcheckbox</code>
Expand Down Expand Up @@ -10930,7 +10934,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<code><a href=#the-figure-element>figure</a></code>,
<code><a href=#the-form-element>form</a></code>,
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>&ndash;<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> in <code><a href=#the-hgroup-element>hgroup</a></code>,
<code><a href=#the-img-element>img</a></code> (unless the <code title=attr-img-alt><a href=#attr-img-alt>alt</a></code> attribute's value is the empty string),
<code><a href=#the-ins-element>ins</a></code>,
<code><a href=#the-kbd-element>kbd</a></code>,
<code><a href=#the-label-element>label</a></code> (unless it has an <a href=#assigned-access-key>assigned access key</a>),
Expand Down
6 changes: 5 additions & 1 deletion source
Expand Up @@ -11220,6 +11220,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td>No role
<td>If specified, role must be either <code title="attr-aria-role-application">application</code>, <code title="attr-aria-role-document">document</code>, or <code title="attr-aria-role-image">image</code>

<tr>
<td><code>img</code> element whose <code title="attr-img-alt">alt</code> attribute's value is absent
<td><code title="attr-aria-role-img">img</code> role
<td>No restrictions

<tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-checkbox">Checkbox</span> state
<td><code title="attr-aria-role-checkbox">checkbox</code> role
Expand Down Expand Up @@ -11306,7 +11311,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<code>figure</code>,
<code>form</code>,
<code>h1</code>&ndash;<code>h6</code> in <code>hgroup</code>,
<code>img</code> (unless the <code title="attr-img-alt">alt</code> attribute's value is the empty string),
<code>ins</code>,
<code>kbd</code>,
<code>label</code> (unless it has an <span>assigned access key</span>),
Expand Down

0 comments on commit 8a2c836

Please sign in to comment.