Skip to content
Permalink
Browse files
[giow] (1) Provide more ARIA role mappings for embed,audio,video,ifra…
…me,object

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10446

git-svn-id: http://svn.whatwg.org/webapps@5366 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 26, 2010
1 parent 3e7396e commit 3f0655a
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 12 deletions.
@@ -10898,10 +10898,18 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<td><code title=attr-aria-role-note>note</code> role
<td>Role must be either <code title=attr-aria-role-note>note</code>, <code title=attr-aria-role-complementary>complementary</code>, or <code title=attr-aria-role-search>search</code>

<tr><td><code><a href=#audio>audio</a></code> element
<td>No role
<td>If specified, role must be <code title=attr-aria-role-application>application</code>

<tr><td><code><a href=#the-details-element>details</a></code> element
<td><code title=attr-aria-role-group>group</code> role
<td>Role must be either <code title=attr-aria-role-form>form</code>, <code title=attr-aria-role-group>group</code>, <code title=attr-aria-role-navigation>navigation</code>, <code title=attr-aria-role-note>note</code>, or <code title=attr-aria-role-search>search</code>

<tr><td><code><a href=#the-embed-element>embed</a></code> element
<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-footer-element>footer</a></code> element
<td>No role
<td>If specified, role must be <code title=attr-aria-role-contentinfo>contentinfo</code> (ARIA restricts usage of this role to one per page)
@@ -10910,10 +10918,18 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<td>No role
<td>If specified, role must be <code title=attr-aria-role-banner>banner</code> (ARIA restricts usage of this role to one per page)

<tr><td><code><a href=#the-iframe-element>iframe</a></code> element
<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-li-element>li</a></code> element whose parent is an <code><a href=#the-ol-element>ol</a></code> or <code><a href=#the-ul-element>ul</a></code> element
<td><code title=attr-aria-role-listitem>listitem</code> role
<td>Role must be either <code title=attr-aria-role-listitem>listitem</code> or <code title=attr-aria-role-treeitem>treeitem</code>

<tr><td><code><a href=#the-object-element>object</a></code> element
<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-ol-element>ol</a></code> element
<td><code title=attr-aria-role-list>list</code> role
<td>Role must be either <code title=attr-aria-role-list>list</code>, <code title=attr-aria-role-tree>tree</code>, or <code title=attr-aria-role-directory>directory</code>
@@ -10930,6 +10946,10 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<td><code title=attr-aria-role-list>list</code> role
<td>Role must be either <code title=attr-aria-role-list>list</code> or <code title=attr-aria-role-tree>tree</code>, or <code title=attr-aria-role-directory>directory</code>

<tr><td><code><a href=#video>video</a></code> element
<td>No role
<td>If specified, role must be <code title=attr-aria-role-application>application</code>

<tr><td><a href=#the-body-element>The body element</a>
<td><code title=attr-aria-role-document>document</code> role
<td>Role must be either <code title=attr-aria-role-document>document</code> or <code title=attr-aria-role-application>application</code>
@@ -10942,7 +10962,6 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<ul class=brief><li><code><a href=#the-a-element>a</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>)
<li><code><a href=#the-abbr-element>abbr</a></code>
<li><code><a href=#the-area-element>area</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>)
<li><code><a href=#audio>audio</a></code>
<li><code><a href=#the-b-element>b</a></code>
<li><code><a href=#the-bdo-element>bdo</a></code>
<li><code><a href=#the-blockquote-element>blockquote</a></code>
@@ -10960,13 +10979,11 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<li><code><a href=#the-dl-element>dl</a></code>
<li><code><a href=#the-dt-element>dt</a></code>
<li><code><a href=#the-em-element>em</a></code>
<li><code><a href=#the-embed-element>embed</a></code>
<li><code><a href=#the-fieldset-element>fieldset</a></code>
<li><code><a href=#the-figcaption-element>figcaption</a></code>
<li><code><a href=#the-figure-element>figure</a></code>
<li><code><a href=#the-form-element>form</a></code>
<li><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>
<li><code><a href=#the-iframe-element>iframe</a></code>
<li><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)
<li><code><a href=#the-ins-element>ins</a></code>
<li><code><a href=#the-kbd-element>kbd</a></code>
@@ -10995,7 +11012,6 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<li><code><a href=#the-thead-element>thead</a></code>
<li><code><a href=#the-time-element>time</a></code>
<li><code><a href=#the-var-element>var</a></code>
<li><code><a href=#video>video</a></code>
<li><code><a href=#the-wbr-element>wbr</a></code>
</ul></div>

24 index
@@ -10820,10 +10820,18 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code title=attr-aria-role-note>note</code> role
<td>Role must be either <code title=attr-aria-role-note>note</code>, <code title=attr-aria-role-complementary>complementary</code>, or <code title=attr-aria-role-search>search</code>

<tr><td><code><a href=#audio>audio</a></code> element
<td>No role
<td>If specified, role must be <code title=attr-aria-role-application>application</code>

<tr><td><code><a href=#the-details-element>details</a></code> element
<td><code title=attr-aria-role-group>group</code> role
<td>Role must be either <code title=attr-aria-role-form>form</code>, <code title=attr-aria-role-group>group</code>, <code title=attr-aria-role-navigation>navigation</code>, <code title=attr-aria-role-note>note</code>, or <code title=attr-aria-role-search>search</code>

<tr><td><code><a href=#the-embed-element>embed</a></code> element
<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-footer-element>footer</a></code> element
<td>No role
<td>If specified, role must be <code title=attr-aria-role-contentinfo>contentinfo</code> (ARIA restricts usage of this role to one per page)
@@ -10832,10 +10840,18 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td>No role
<td>If specified, role must be <code title=attr-aria-role-banner>banner</code> (ARIA restricts usage of this role to one per page)

<tr><td><code><a href=#the-iframe-element>iframe</a></code> element
<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-li-element>li</a></code> element whose parent is an <code><a href=#the-ol-element>ol</a></code> or <code><a href=#the-ul-element>ul</a></code> element
<td><code title=attr-aria-role-listitem>listitem</code> role
<td>Role must be either <code title=attr-aria-role-listitem>listitem</code> or <code title=attr-aria-role-treeitem>treeitem</code>

<tr><td><code><a href=#the-object-element>object</a></code> element
<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-ol-element>ol</a></code> element
<td><code title=attr-aria-role-list>list</code> role
<td>Role must be either <code title=attr-aria-role-list>list</code>, <code title=attr-aria-role-tree>tree</code>, or <code title=attr-aria-role-directory>directory</code>
@@ -10852,6 +10868,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code title=attr-aria-role-list>list</code> role
<td>Role must be either <code title=attr-aria-role-list>list</code> or <code title=attr-aria-role-tree>tree</code>, or <code title=attr-aria-role-directory>directory</code>

<tr><td><code><a href=#video>video</a></code> element
<td>No role
<td>If specified, role must be <code title=attr-aria-role-application>application</code>

<tr><td><a href=#the-body-element>The body element</a>
<td><code title=attr-aria-role-document>document</code> role
<td>Role must be either <code title=attr-aria-role-document>document</code> or <code title=attr-aria-role-application>application</code>
@@ -10864,7 +10884,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<ul class=brief><li><code><a href=#the-a-element>a</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>)
<li><code><a href=#the-abbr-element>abbr</a></code>
<li><code><a href=#the-area-element>area</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>)
<li><code><a href=#audio>audio</a></code>
<li><code><a href=#the-b-element>b</a></code>
<li><code><a href=#the-bdo-element>bdo</a></code>
<li><code><a href=#the-blockquote-element>blockquote</a></code>
@@ -10882,13 +10901,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code><a href=#the-dl-element>dl</a></code>
<li><code><a href=#the-dt-element>dt</a></code>
<li><code><a href=#the-em-element>em</a></code>
<li><code><a href=#the-embed-element>embed</a></code>
<li><code><a href=#the-fieldset-element>fieldset</a></code>
<li><code><a href=#the-figcaption-element>figcaption</a></code>
<li><code><a href=#the-figure-element>figure</a></code>
<li><code><a href=#the-form-element>form</a></code>
<li><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>
<li><code><a href=#the-iframe-element>iframe</a></code>
<li><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)
<li><code><a href=#the-ins-element>ins</a></code>
<li><code><a href=#the-kbd-element>kbd</a></code>
@@ -10917,7 +10934,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code><a href=#the-thead-element>thead</a></code>
<li><code><a href=#the-time-element>time</a></code>
<li><code><a href=#the-var-element>var</a></code>
<li><code><a href=#video>video</a></code>
<li><code><a href=#the-wbr-element>wbr</a></code>
</ul></div>

29 source
@@ -11174,11 +11174,21 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code title="attr-aria-role-note">note</code> role
<td>Role must be either <code title="attr-aria-role-note">note</code>, <code title="attr-aria-role-complementary">complementary</code>, or <code title="attr-aria-role-search">search</code>

<tr>
<td><code>audio</code> element
<td>No role
<td>If specified, role must be <code title="attr-aria-role-application">application</code>

<tr>
<td><code>details</code> element
<td><code title="attr-aria-role-group">group</code> role
<td>Role must be either <code title="attr-aria-role-form">form</code>, <code title="attr-aria-role-group">group</code>, <code title="attr-aria-role-navigation">navigation</code>, <code title="attr-aria-role-note">note</code>, or <code title="attr-aria-role-search">search</code>

<tr>
<td><code>embed</code> element
<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>footer</code> element
<td>No role
@@ -11189,11 +11199,21 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td>No role
<td>If specified, role must be <code title="attr-aria-role-banner">banner</code> (ARIA restricts usage of this role to one per page)

<tr>
<td><code>iframe</code> element
<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>li</code> element whose parent is an <code>ol</code> or <code>ul</code> element
<td><code title="attr-aria-role-listitem">listitem</code> role
<td>Role must be either <code title="attr-aria-role-listitem">listitem</code> or <code title="attr-aria-role-treeitem">treeitem</code>

<tr>
<td><code>object</code> element
<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>ol</code> element
<td><code title="attr-aria-role-list">list</code> role
@@ -11214,6 +11234,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code title="attr-aria-role-list">list</code> role
<td>Role must be either <code title="attr-aria-role-list">list</code> or <code title="attr-aria-role-tree">tree</code>, or <code title="attr-aria-role-directory">directory</code>

<tr>
<td><code>video</code> element
<td>No role
<td>If specified, role must be <code title="attr-aria-role-application">application</code>

<tr>
<td><span>The body element</span>
<td><code title="attr-aria-role-document">document</code> role
@@ -11230,7 +11255,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code>a</code> (unless it creates a <span>hyperlink</span>)
<li><code>abbr</code>
<li><code>area</code> (unless it creates a <span>hyperlink</span>)
<li><code>audio</code>
<li><code>b</code>
<li><code>bdo</code>
<li><code>blockquote</code>
@@ -11248,13 +11272,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code>dl</code>
<li><code>dt</code>
<li><code>em</code>
<li><code>embed</code>
<li><code>fieldset</code>
<li><code>figcaption</code>
<li><code>figure</code>
<li><code>form</code>
<li><code>h1</code>&ndash;<code>h6</code> in <code>hgroup</code>
<li><code>iframe</code>
<li><code>img</code> (unless the <code title="attr-img-alt">alt</code> attribute's value is the empty string)
<li><code>ins</code>
<li><code>kbd</code>
@@ -11283,7 +11305,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<li><code>thead</code>
<li><code>time</code>
<li><code>var</code>
<li><code>video</code>
<li><code>wbr</code>
</ul>

0 comments on commit 3f0655a

Please sign in to comment.