[html5] r5363 - [e] (0) Add a note with the list of elements with no roles. Hopefully it is comp [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Aug 26 12:16:26 PDT 2010
Author: ianh
Date: 2010-08-26 12:16:24 -0700 (Thu, 26 Aug 2010)
New Revision: 5363
Modified:
complete.html
index
source
Log:
[e] (0) Add a note with the list of elements with no roles. Hopefully it is complete. Let me know if I missed anything. (Original list from Maciej.)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10444
Modified: complete.html
===================================================================
--- complete.html 2010-08-26 19:05:14 UTC (rev 5362)
+++ complete.html 2010-08-26 19:16:24 UTC (rev 5363)
@@ -10899,8 +10899,93 @@
<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>
- </table><div class=impl>
+ </table><div class=note>
+ <p>A number of elements in HTML have no default role and no
+ restrictions on what roles can be applied to those elements:</p>
+
+ <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-base-element>base</a></code>
+ <li><code><a href=#the-bdo-element>bdo</a></code>
+ <li><code><a href=#the-blockquote-element>blockquote</a></code>
+ <li><code><a href=#the-br-element>br</a></code>
+ <li><code><a href=#the-canvas-element>canvas</a></code>
+ <li><code><a href=#the-caption-element>caption</a></code>
+ <li><code><a href=#the-cite-element>cite</a></code>
+ <li><code><a href=#the-code-element>code</a></code>
+ <li><code><a href=#the-col-element>col</a></code>
+ <li><code><a href=#the-colgroup-element>colgroup</a></code>
+ <li><code><a href=#the-command>command</a></code>
+ <li><code><a href=#the-dd-element>dd</a></code>
+ <li><code><a href=#the-del-element>del</a></code>
+ <li><code><a href=#the-dfn-element>dfn</a></code>
+ <li><code><a href=#the-div-element>div</a></code>
+ <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>–<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> when contained in an <code><a href=#the-hgroup-element>hgroup</a></code> element
+ <li><code><a href=#the-head-element-0>head</a></code>
+ <li><code><a href=#the-html-element-0>html</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>
+ <li><code><a href=#the-keygen-element>keygen</a></code>
+ <li><code><a href=#the-label-element>label</a></code>
+ <li><code><a href=#the-legend-element>legend</a></code>
+ <li><code><a href=#the-link-element>link</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>)
+ <li><code><a href=#the-map-element>map</a></code>
+ <li><code><a href=#the-mark-element>mark</a></code>
+ <li><code><a href=#meta>meta</a></code>
+ <li><code><a href=#the-meter-element>meter</a></code>
+ <li><code><a href=#the-optgroup-element>optgroup</a></code>
+ <li><code><a href=#the-option-element>option</a></code>
+ <li><code><a href=#the-p-element>p</a></code>
+ <li><code><a href=#the-param-element>param</a></code>
+ <li><code><a href=#the-pre-element>pre</a></code>
+ <li><code><a href=#the-q-element>q</a></code>
+ <li><code><a href=#the-rp-element>rp</a></code>
+ <li><code><a href=#the-rt-element>rt</a></code>
+ <li><code><a href=#the-ruby-element>ruby</a></code>
+ <li><code><a href=#the-samp-element>samp</a></code>
+ <li><code><a href=#script>script</a></code>
+ <li><code><a href=#the-small-element>small</a></code>
+ <li><code><a href=#the-source-element>source</a></code>
+ <li><code><a href=#the-span-element>span</a></code>
+ <li><code><a href=#the-strong-element>strong</a></code>
+ <li><code><a href=#the-style-element>style</a></code>
+ <li><code><a href=#the-sub-and-sup-elements>sub</a></code>
+ <li><code><a href=#the-sub-and-sup-elements>sup</a></code>
+ <li><code><a href=#the-table-element>table</a></code>
+ <li><code><a href=#the-tbody-element>tbody</a></code>
+ <li><code><a href=#the-td-element>td</a></code>
+ <li><code><a href=#the-tfoot-element>tfoot</a></code>
+ <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-title-element-0>title</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><p>In some cases, this is because ARIA has no suitable role (e.g.
+ the table-related elements); in other cases it is because the
+ element is somewhat generic in purpose and many roles would be
+ appropriate (e.g. <code><a href=#the-div-element>div</a></code>); and in a few cases it is
+ because the element is never expected to be rendered and therefore
+ ARIA roles are not relevant (e.g. <code><a href=#the-title-element-0>title</a></code>).</p>
+
+ </div>
+
+ <div class=impl>
+
<p>User agents may apply different defaults than those described in
this section in order to expose the semantics of <a href=#html-elements>HTML
elements</a> in a manner more fine-grained than possible with the
Modified: index
===================================================================
--- index 2010-08-26 19:05:14 UTC (rev 5362)
+++ index 2010-08-26 19:16:24 UTC (rev 5363)
@@ -10821,8 +10821,93 @@
<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>
- </table><div class=impl>
+ </table><div class=note>
+ <p>A number of elements in HTML have no default role and no
+ restrictions on what roles can be applied to those elements:</p>
+
+ <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-base-element>base</a></code>
+ <li><code><a href=#the-bdo-element>bdo</a></code>
+ <li><code><a href=#the-blockquote-element>blockquote</a></code>
+ <li><code><a href=#the-br-element>br</a></code>
+ <li><code><a href=#the-canvas-element>canvas</a></code>
+ <li><code><a href=#the-caption-element>caption</a></code>
+ <li><code><a href=#the-cite-element>cite</a></code>
+ <li><code><a href=#the-code-element>code</a></code>
+ <li><code><a href=#the-col-element>col</a></code>
+ <li><code><a href=#the-colgroup-element>colgroup</a></code>
+ <li><code><a href=#the-command>command</a></code>
+ <li><code><a href=#the-dd-element>dd</a></code>
+ <li><code><a href=#the-del-element>del</a></code>
+ <li><code><a href=#the-dfn-element>dfn</a></code>
+ <li><code><a href=#the-div-element>div</a></code>
+ <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>–<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> when contained in an <code><a href=#the-hgroup-element>hgroup</a></code> element
+ <li><code><a href=#the-head-element-0>head</a></code>
+ <li><code><a href=#the-html-element-0>html</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>
+ <li><code><a href=#the-keygen-element>keygen</a></code>
+ <li><code><a href=#the-label-element>label</a></code>
+ <li><code><a href=#the-legend-element>legend</a></code>
+ <li><code><a href=#the-link-element>link</a></code> (unless it creates a <a href=#hyperlink>hyperlink</a>)
+ <li><code><a href=#the-map-element>map</a></code>
+ <li><code><a href=#the-mark-element>mark</a></code>
+ <li><code><a href=#meta>meta</a></code>
+ <li><code><a href=#the-meter-element>meter</a></code>
+ <li><code><a href=#the-optgroup-element>optgroup</a></code>
+ <li><code><a href=#the-option-element>option</a></code>
+ <li><code><a href=#the-p-element>p</a></code>
+ <li><code><a href=#the-param-element>param</a></code>
+ <li><code><a href=#the-pre-element>pre</a></code>
+ <li><code><a href=#the-q-element>q</a></code>
+ <li><code><a href=#the-rp-element>rp</a></code>
+ <li><code><a href=#the-rt-element>rt</a></code>
+ <li><code><a href=#the-ruby-element>ruby</a></code>
+ <li><code><a href=#the-samp-element>samp</a></code>
+ <li><code><a href=#script>script</a></code>
+ <li><code><a href=#the-small-element>small</a></code>
+ <li><code><a href=#the-source-element>source</a></code>
+ <li><code><a href=#the-span-element>span</a></code>
+ <li><code><a href=#the-strong-element>strong</a></code>
+ <li><code><a href=#the-style-element>style</a></code>
+ <li><code><a href=#the-sub-and-sup-elements>sub</a></code>
+ <li><code><a href=#the-sub-and-sup-elements>sup</a></code>
+ <li><code><a href=#the-table-element>table</a></code>
+ <li><code><a href=#the-tbody-element>tbody</a></code>
+ <li><code><a href=#the-td-element>td</a></code>
+ <li><code><a href=#the-tfoot-element>tfoot</a></code>
+ <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-title-element-0>title</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><p>In some cases, this is because ARIA has no suitable role (e.g.
+ the table-related elements); in other cases it is because the
+ element is somewhat generic in purpose and many roles would be
+ appropriate (e.g. <code><a href=#the-div-element>div</a></code>); and in a few cases it is
+ because the element is never expected to be rendered and therefore
+ ARIA roles are not relevant (e.g. <code><a href=#the-title-element-0>title</a></code>).</p>
+
+ </div>
+
+ <div class=impl>
+
<p>User agents may apply different defaults than those described in
this section in order to expose the semantics of <a href=#html-elements>HTML
elements</a> in a manner more fine-grained than possible with the
Modified: source
===================================================================
--- source 2010-08-26 19:05:14 UTC (rev 5362)
+++ source 2010-08-26 19:16:24 UTC (rev 5363)
@@ -9,6 +9,7 @@
! - obsolete section
! - element, attribute, content model, and interface indexes
! - section for the element itself
+ ! - adding it to the section with ARIA mappings (whether it has a mapping or not)
!
!-->
<!--START validation-->
@@ -11173,6 +11174,94 @@
</table>
+ <div class="note">
+
+ <p>A number of elements in HTML have no default role and no
+ restrictions on what roles can be applied to those elements:</p>
+
+ <ul class="brief">
+ <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>base</code>
+ <li><code>bdo</code>
+ <li><code>blockquote</code>
+ <li><code>br</code>
+ <li><code>canvas</code>
+ <li><code>caption</code>
+ <li><code>cite</code>
+ <li><code>code</code>
+ <li><code>col</code>
+ <li><code>colgroup</code>
+ <li><code>command</code>
+ <li><code>dd</code>
+ <li><code>del</code>
+ <li><code>dfn</code>
+ <li><code>div</code>
+ <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>–<code>h6</code> when contained in an <code>hgroup</code> element
+ <li><code>head</code>
+ <li><code>html</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>
+ <li><code>keygen</code>
+ <li><code>label</code>
+ <li><code>legend</code>
+ <li><code>link</code> (unless it creates a <span>hyperlink</span>)
+ <li><code>map</code>
+ <li><code>mark</code>
+ <li><code>meta</code>
+ <li><code>meter</code>
+ <li><code>optgroup</code>
+ <li><code>option</code>
+ <li><code>p</code>
+ <li><code>param</code>
+ <li><code>pre</code>
+ <li><code>q</code>
+ <li><code>rp</code>
+ <li><code>rt</code>
+ <li><code>ruby</code>
+ <li><code>samp</code>
+ <li><code>script</code>
+ <li><code>small</code>
+ <li><code>source</code>
+ <li><code>span</code>
+ <li><code>strong</code>
+ <li><code>style</code>
+ <li><code>sub</code>
+ <li><code>sup</code>
+ <li><code>table</code>
+ <li><code>tbody</code>
+ <li><code>td</code>
+ <li><code>tfoot</code>
+ <li><code>thead</code>
+ <li><code>time</code>
+ <li><code>title</code>
+ <li><code>var</code>
+ <li><code>video</code>
+ <li><code>wbr</code>
+ </ul>
+
+ <p>In some cases, this is because ARIA has no suitable role (e.g.
+ the table-related elements); in other cases it is because the
+ element is somewhat generic in purpose and many roles would be
+ appropriate (e.g. <code>div</code>); and in a few cases it is
+ because the element is never expected to be rendered and therefore
+ ARIA roles are not relevant (e.g. <code>title</code>).</p>
+
+ </div>
+
<div class="impl">
<p>User agents may apply different defaults than those described in
More information about the Commit-Watchers
mailing list