Skip to content

Commit

Permalink
[ac] (1) Fix <label>'s ARIA restrictions
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10451

git-svn-id: http://svn.whatwg.org/webapps@5427 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 7, 2010
1 parent a670c45 commit b430c05
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion complete.html
Expand Up @@ -10732,6 +10732,9 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<tr><td><code><a href=#the-keygen-element>keygen</a></code> element
<td>No role

<tr><td><code><a href=#the-label-element>label</a></code> element
<td>No role

<tr><td><code><a href=#the-link-element>link</a></code> element that creates a <a href=#hyperlink>hyperlink</a>
<td><code title=attr-aria-role-link>link</code> role

Expand Down Expand Up @@ -10959,7 +10962,6 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<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-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>),
<code><a href=#the-legend-element>legend</a></code> (unless it has an <a href=#assigned-access-key>assigned access key</a>),
<code><a href=#the-li-element>li</a></code> in <code><a href=#menus>menu</a></code>,
<code><a href=#the-link-element>link</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>),
Expand Down
4 changes: 3 additions & 1 deletion index
Expand Up @@ -10709,6 +10709,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<tr><td><code><a href=#the-keygen-element>keygen</a></code> element
<td>No role

<tr><td><code><a href=#the-label-element>label</a></code> element
<td>No role

<tr><td><code><a href=#the-link-element>link</a></code> element that creates a <a href=#hyperlink>hyperlink</a>
<td><code title=attr-aria-role-link>link</code> role

Expand Down Expand Up @@ -10936,7 +10939,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<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-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>),
<code><a href=#the-legend-element>legend</a></code> (unless it has an <a href=#assigned-access-key>assigned access key</a>),
<code><a href=#the-li-element>li</a></code> in <code><a href=#menus>menu</a></code>,
<code><a href=#the-link-element>link</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>),
Expand Down
5 changes: 4 additions & 1 deletion source
Expand Up @@ -11022,6 +11022,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code>keygen</code> element
<td>No role

<tr>
<td><code>label</code> element
<td>No role

<tr>
<td><code>link</code> element that creates a <span>hyperlink</span>
<td><code title="attr-aria-role-link">link</code> role
Expand Down Expand Up @@ -11313,7 +11317,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<code>h1</code>&ndash;<code>h6</code> in <code>hgroup</code>,
<code>ins</code>,
<code>kbd</code>,
<code>label</code> (unless it has an <span>assigned access key</span>),
<code>legend</code> (unless it has an <span>assigned access key</span>),
<code>li</code> in <code>menu</code>,
<code>link</code> (unless it creates a <span>hyperlink</span>),
Expand Down

0 comments on commit b430c05

Please sign in to comment.