Skip to content

Commit

Permalink
[giow] (1) Update some ARIA mappings for states to make more sense
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5518 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 26, 2010
1 parent f86a9da commit 764b292
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 10 deletions.
18 changes: 15 additions & 3 deletions complete.html
Expand Up @@ -10803,6 +10803,9 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<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=#week-state title=attr-input-type-week>Week</a> state
<td>No role, with the <code title=title-aria-readonly>aria-readonly</code> state set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute

<tr><td><code><a href=#the-input-element>input</a></code> element that is <a href=#concept-input-required title=concept-input-required>required</a>
<td>The <code title=title-aria-required>aria-required</code> state set to "true"

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

Expand Down Expand Up @@ -10854,6 +10857,9 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<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-select-element>select</a></code> element with a <code title=attr-select-required><a href=#attr-select-required>required</a></code> attribute
<td>The <code title=title-aria-required>aria-required</code> state set to "true"

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

Expand All @@ -10872,6 +10878,9 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<tr><td><code><a href=#the-textarea-element>textarea</a></code> element
<td><code title=attr-aria-role-textbox>textbox</code> role, with the <code title=attr-aria-multiline>aria-multiline</code> property set to "true", and the <code title=title-aria-readonly>aria-readonly</code> state set to "true" if the element has a <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> attribute

<tr><td><code><a href=#the-textarea-element>textarea</a></code> element with a <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code> attribute
<td>The <code title=title-aria-required>aria-required</code> state set to "true"

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

Expand Down Expand Up @@ -10902,11 +10911,14 @@ <h4 id=annotations-for-assistive-technology-products-(aria)><span class=secno>3.
<tr><td>An element that <a href=#concept-command title=concept-command>defines a command</a>, whose <a href=#command-facet-type title=command-facet-type>Type</a> facet is "radio", and that is a descendant of a <code><a href=#menus>menu</a></code> element whose <code title=attr-menu-type><a href=#attr-menu-type>type</a></code> attribute in the <a href=#list-state title="list state">list</a> state
<td><code title=attr-aria-role-menuitemradio>menuitemradio</code> role, with the <code title=attr-aria-checked>aria-checked</code> state set to "true" if the command's <a href=#command-facet-checkedstate title=command-facet-checkedstate>Checked State</a> facet is true, and "false" otherwise

<tr><td>Elements that are <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>
<tr><td>Element that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>
<td>The <code title=title-aria-disabled>aria-disabled</code> state set to "true"

<tr><td>Elements that are <a href=#concept-input-required title=concept-input-required>required</a>
<td>The <code title=title-aria-required>aria-required</code> state set to "true"
<tr><td>Element with a <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute
<td>The <code title=title-aria-hidden>aria-hidden</code> state set to "true"

<tr><td>Element that is a <a href=#candidate-for-constraint-validation>candidate for constraint validation</a> but that does not <a href=#concept-fv-valid title=concept-fv-valid>satisfy its constraints</a>
<td>The <code title=title-aria-invalid>aria-invalid</code> state set to "true"

</table><p>Some <a href=#html-elements>HTML elements</a> have native semantics that can be
overridden. The following table lists these elements<span class=impl> and their <span>implicit ARIA semantics</span></span>,
Expand Down
18 changes: 15 additions & 3 deletions index
Expand Up @@ -10780,6 +10780,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<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=#week-state title=attr-input-type-week>Week</a> state
<td>No role, with the <code title=title-aria-readonly>aria-readonly</code> state set to "true" if the element has a <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute

<tr><td><code><a href=#the-input-element>input</a></code> element that is <a href=#concept-input-required title=concept-input-required>required</a>
<td>The <code title=title-aria-required>aria-required</code> state set to "true"

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

Expand Down Expand Up @@ -10831,6 +10834,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<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-select-element>select</a></code> element with a <code title=attr-select-required><a href=#attr-select-required>required</a></code> attribute
<td>The <code title=title-aria-required>aria-required</code> state set to "true"

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

Expand All @@ -10849,6 +10855,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<tr><td><code><a href=#the-textarea-element>textarea</a></code> element
<td><code title=attr-aria-role-textbox>textbox</code> role, with the <code title=attr-aria-multiline>aria-multiline</code> property set to "true", and the <code title=title-aria-readonly>aria-readonly</code> state set to "true" if the element has a <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> attribute

<tr><td><code><a href=#the-textarea-element>textarea</a></code> element with a <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code> attribute
<td>The <code title=title-aria-required>aria-required</code> state set to "true"

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

Expand Down Expand Up @@ -10879,11 +10888,14 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<tr><td>An element that <a href=#concept-command title=concept-command>defines a command</a>, whose <a href=#command-facet-type title=command-facet-type>Type</a> facet is "radio", and that is a descendant of a <code><a href=#menus>menu</a></code> element whose <code title=attr-menu-type><a href=#attr-menu-type>type</a></code> attribute in the <a href=#list-state title="list state">list</a> state
<td><code title=attr-aria-role-menuitemradio>menuitemradio</code> role, with the <code title=attr-aria-checked>aria-checked</code> state set to "true" if the command's <a href=#command-facet-checkedstate title=command-facet-checkedstate>Checked State</a> facet is true, and "false" otherwise

<tr><td>Elements that are <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>
<tr><td>Element that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>
<td>The <code title=title-aria-disabled>aria-disabled</code> state set to "true"

<tr><td>Elements that are <a href=#concept-input-required title=concept-input-required>required</a>
<td>The <code title=title-aria-required>aria-required</code> state set to "true"
<tr><td>Element with a <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute
<td>The <code title=title-aria-hidden>aria-hidden</code> state set to "true"

<tr><td>Element that is a <a href=#candidate-for-constraint-validation>candidate for constraint validation</a> but that does not <a href=#concept-fv-valid title=concept-fv-valid>satisfy its constraints</a>
<td>The <code title=title-aria-invalid>aria-invalid</code> state set to "true"

</table><p>Some <a href=#html-elements>HTML elements</a> have native semantics that can be
overridden. The following table lists these elements<span class=impl> and their <span>implicit ARIA semantics</span></span>,
Expand Down
24 changes: 20 additions & 4 deletions source
Expand Up @@ -11092,6 +11092,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-week">Week</span> state
<td>No role, with the <code title="title-aria-readonly">aria-readonly</code> state set to "true" if the element has a <code title="attr-input-readonly">readonly</code> attribute

<tr>
<td><code>input</code> element that is <span title="concept-input-required">required</span>
<td>The <code title="title-aria-required">aria-required</code> state set to "true"

<tr>
<td><code>keygen</code> element
<td>No role
Expand Down Expand Up @@ -11160,6 +11164,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>select</code> element with a <code title="attr-select-required">required</code> attribute
<td>The <code title="title-aria-required">aria-required</code> state set to "true"

<tr>
<td><code>source</code> element
<td>No role
Expand All @@ -11184,6 +11192,10 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code>textarea</code> element
<td><code title="attr-aria-role-textbox">textbox</code> role, with the <code title="attr-aria-multiline">aria-multiline</code> property set to "true", and the <code title="title-aria-readonly">aria-readonly</code> state set to "true" if the element has a <code title="attr-textarea-readonly">readonly</code> attribute

<tr>
<td><code>textarea</code> element with a <code title="attr-textarea-required">required</code> attribute
<td>The <code title="title-aria-required">aria-required</code> state set to "true"

<tr>
<td><code>tfoot</code> element
<td><code title="attr-aria-role-rowgroup">rowgroup</code> role
Expand Down Expand Up @@ -11225,12 +11237,16 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<td><code title="attr-aria-role-menuitemradio">menuitemradio</code> role, with the <code title="attr-aria-checked">aria-checked</code> state set to "true" if the command's <span title="command-facet-checkedstate">Checked State</span> facet is true, and "false" otherwise

<tr>
<td>Elements that are <span title="concept-fe-disabled">disabled</span>
<td>Element that is <span title="concept-fe-disabled">disabled</span>
<td>The <code title="title-aria-disabled">aria-disabled</code> state set to "true"

<tr>
<td>Elements that are <span title="concept-input-required">required</span>
<td>The <code title="title-aria-required">aria-required</code> state set to "true"
<td>Element with a <code title="attr-hidden">hidden</code> attribute
<td>The <code title="title-aria-hidden">aria-hidden</code> state set to "true"

<tr>
<td>Element that is a <span>candidate for constraint validation</span> but that does not <span title="concept-fv-valid">satisfy its constraints</span>
<td>The <code title="title-aria-invalid">aria-invalid</code> state set to "true"

</table>

Expand Down Expand Up @@ -22983,7 +22999,7 @@ of various sizes."></strong></pre>
<code>figure</code> element has no text node descendants other
than <span>inter-element whitespace</span>, and no <span>embedded
content</span> descendant other than the <code>img</code>
element.</p></li>
element.</li>

</ul>

Expand Down

0 comments on commit 764b292

Please sign in to comment.