Skip to content
Permalink
Browse files

[giow] (1) ARIA mapping for <details>.

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

git-svn-id: http://svn.whatwg.org/webapps@5331 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 24, 2010
1 parent f7ea83d commit f80dd9eed0c918657b1bb6f1402f37b67b75fcfc
Showing with 33 additions and 0 deletions.
  1. +10 −0 complete.html
  2. +10 −0 index
  3. +13 −0 source
<tr><td><code><a href=#the-area-element>area</a></code> element that creates a <a href=#hyperlink>hyperlink</a>
<td><code title=attr-aria-role-link>link</code> role

<tr><td><code><a href=#the-details-element>details</a></code> element
<td>The <code title=attr-aria-expanded>aria-expanded</code> state must be set to "true" if the element's <code title=attr-details-open><a href=#attr-details-open>open</a></code> attribute is present, and must be set to "false" otherwise. (The role can be changed as described in the next table, but is restricted to roles that use the <code title=attr-aria-expanded>aria-expanded</code> state.)

<tr><td><code><a href=#the-button-element>button</a></code> element
<td><code title=attr-aria-role-button>button</code> role

<tr><td><code><a href=#the-select-element>select</a></code> element with no <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute
<td><code title=attr-aria-role-listbox>listbox</code> role, with the <code title=attr-aria-multiselectable>aria-multiselectable</code> property set to "false"

<tr><td><code><a href=#the-summary-element>summary</a></code> element
<td><code title=attr-aria-role-heading>heading</code> role

<tr><td><code><a href=#the-td-element>td</a></code> element
<td><code title=attr-aria-role-gridcell>gridcell</code> role, with the <code title=attr-aria-labelledby>aria-labelledby</code> property set to the value of the <code title=attr-tdth-headers><a href=#attr-tdth-headers>headers</a></code> attribute, if any

<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=#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-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)
10 index
<tr><td><code><a href=#the-area-element>area</a></code> element that creates a <a href=#hyperlink>hyperlink</a>
<td><code title=attr-aria-role-link>link</code> role

<tr><td><code><a href=#the-details-element>details</a></code> element
<td>The <code title=attr-aria-expanded>aria-expanded</code> state must be set to "true" if the element's <code title=attr-details-open><a href=#attr-details-open>open</a></code> attribute is present, and must be set to "false" otherwise. (The role can be changed as described in the next table, but is restricted to roles that use the <code title=attr-aria-expanded>aria-expanded</code> state.)

<tr><td><code><a href=#the-button-element>button</a></code> element
<td><code title=attr-aria-role-button>button</code> role

<tr><td><code><a href=#the-select-element>select</a></code> element with no <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute
<td><code title=attr-aria-role-listbox>listbox</code> role, with the <code title=attr-aria-multiselectable>aria-multiselectable</code> property set to "false"

<tr><td><code><a href=#the-summary-element>summary</a></code> element
<td><code title=attr-aria-role-heading>heading</code> role

<tr><td><code><a href=#the-td-element>td</a></code> element
<td><code title=attr-aria-role-gridcell>gridcell</code> role, with the <code title=attr-aria-labelledby>aria-labelledby</code> property set to the value of the <code title=attr-tdth-headers><a href=#attr-tdth-headers>headers</a></code> attribute, if any

<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=#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-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)
13 source
@@ -10830,6 +10830,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code>area</code> element that creates a <span>hyperlink</span>
<td><code title="attr-aria-role-link">link</code> role

<tr>
<td><code>details</code> element
<td>The <code title="attr-aria-expanded">aria-expanded</code> state must be set to "true" if the element's <code title="attr-details-open">open</code> attribute is present, and must be set to "false" otherwise. (The role can be changed as described in the next table, but is restricted to roles that use the <code title="attr-aria-expanded">aria-expanded</code> state.)

<tr>
<td><code>button</code> element
<td><code title="attr-aria-role-button">button</code> role
@@ -11006,6 +11010,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code>select</code> element with no <code title="attr-select-multiple">multiple</code> attribute
<td><code title="attr-aria-role-listbox">listbox</code> role, with the <code title="attr-aria-multiselectable">aria-multiselectable</code> property set to "false"

<tr>
<td><code>summary</code> element
<td><code title="attr-aria-role-heading">heading</code> role

<tr>
<td><code>td</code> element
<td><code title="attr-aria-role-gridcell">gridcell</code> role, with the <code title="attr-aria-labelledby">aria-labelledby</code> property set to the value of the <code title="attr-tdth-headers">headers</code> attribute, if any
@@ -11086,6 +11094,11 @@ 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>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>footer</code> element
<td>No role

0 comments on commit f80dd9e

Please sign in to comment.