Short URL: http://html5.org/r/5981
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 5981 | 10066 | 2011-04-08 23:24 |
Index: source
===================================================================
--- source (revision 5980)
+++ source (revision 5981)
@@ -14,8 +14,37 @@
!-->
<!--START validation-->
<!--START complete--><!--START epub-->
-<!--START html--><!--START dev-html--><!--START w3c-html-->
+<!--START html--><!--START dev-html-->
+ <!-- An advisory for those reading this source. -->
+
+ <!-- In this specification, there are a number of comments (like
+ this one) that have three consecutive Xs. These indicate known
+ problems that are expected to be resolved in the future. -->
+
+ <!-- There are also comments with the string "v2", "v3", "v4", or
+ higher numbers. These indicate ideas for future versions of
+ the specification that have not yet been included, usually
+ because it's too early (one has to move slowly lest the
+ browser vendors get overwhelmed with changes). -->
+
+ <!-- Finally, there are also a number of known issues in this
+ specification marked with the following punctuation: -->
+
+ <!--!-->
+
+ <!-- These are issues that are known to the editor but cannot be
+ currently fixed because they were introduced by Sam Ruby
+ acting as chairman of the W3C HTML Working Group as part of
+ the HTML Working Group Decision Process. In theory we could
+ fork the WHATWG copy of the spec, but doing so would introduce
+ normative differences between the W3C and WHATWG specs and
+ these issues are not worth the hassle that this would cause.
+ We'll probably be able to fix them some day, but for now we
+ are living with them. -->
+
+<!--START w3c-html-->
+
<h2 id="introduction">Introduction</h2>
<!--END w3c-html--><!--VERSION-->
@@ -11708,22 +11737,15 @@
<tbody>
<tr>
- <td><code>a</code> element that creates a <span>hyperlink</span>
- <td><code title="attr-aria-role-link">link</code> role
-
- <tr>
<td><code>area</code> element that creates a <span>hyperlink</span>
<td><code title="attr-aria-role-link">link</code> role
+ <!--!--><!-- (this should really be the same as <a>) -->
<tr>
<td><code>base</code> element
<td>No role
<tr>
- <td><code>button</code> element
- <td><code title="attr-aria-role-button">button</code> role
-
- <tr>
<td><code>datalist</code> element
<td><code title="attr-aria-role-listbox">listbox</code> role, with the <code title="attr-aria-multiselectable">aria-multiselectable</code> property set to "false"
@@ -11731,6 +11753,7 @@
<td><code>details</code> element
<td><code title="attr-aria-expanded">aria-expanded</code> state set to "true" if the element's <code title="attr-details-open">open</code> attribute is present, and set to "false" otherwise
+<!--!--><!--(these are in the next table at the moment)--><!--
<tr>
<td><code>h1</code> element that does not have an <code>hgroup</code> ancestor
<td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <span>outline depth</span>
@@ -11754,6 +11777,7 @@
<tr>
<td><code>h6</code> element that does not have an <code>hgroup</code> ancestor
<td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <span>outline depth</span>
+-->
<tr>
<td><code>head</code> element
@@ -11776,10 +11800,6 @@
<td><code title="attr-aria-role-presentation">presentation</code> role
<tr>
- <td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-button">Button</span> state
- <td><code title="attr-aria-role-button">button</code> role
-
- <tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-checkbox">Checkbox</span> state
<td><code title="attr-aria-checked">aria-checked</code> state set to "mixed" if the element's <code title="dom-input-indeterminate">indeterminate</code> IDL attribute is true, or "true" if the element's <span title="concept-fe-checked">checkedness</span> is true, or "false" otherwise
@@ -11812,10 +11832,6 @@
<td>No role
<tr>
- <td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-image">Image Button</span> state
- <td><code title="attr-aria-role-button">button</code> role
-
- <tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-month">Month</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
@@ -12020,6 +12036,11 @@
<tbody>
<tr>
+ <td><code>a</code> element that creates a <span>hyperlink</span>
+ <td><code title="attr-aria-role-link">link</code> role
+ <td>Role must be either <code title="attr-aria-role-link">link</code>, <code title="attr-aria-role-button">button</code><!--!-->, <code title="attr-aria-role-checkbox">checkbox</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code>, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+
+ <tr>
<td><code>address</code> element
<td>No role
<td>If specified, role must be <code title="attr-aria-role-contentinfo">contentinfo</code>
@@ -12040,6 +12061,11 @@
<td>If specified, role must be <code title="attr-aria-role-application">application</code>
<tr>
+ <td><code>button</code> element
+ <td><code title="attr-aria-role-button">button</code> role
+ <td>Role must be either <code title="attr-aria-role-button">button</code>, <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code>, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-radio">radio</code><!--!-->
+
+ <tr>
<td><code>details</code> element
<td><code title="attr-aria-role-group">group</code> role
<td>Role must be a role that supports <code title="attr-aria-expanded">aria-expanded</code>
@@ -12054,7 +12080,39 @@
<td>No role
<td>If specified, role must be <code title="attr-aria-role-contentinfo">contentinfo</code>
+<!--!--><!--(none of the following six rows make any sense)-->
<tr>
+ <td><code>h1</code> element that does not have an <code>hgroup</code> ancestor
+ <td>No role
+ <td>Role must be either <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code><!--!-->, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+
+ <tr>
+ <td><code>h2</code> element that does not have an <code>hgroup</code> ancestor
+ <td>No role
+ <td>Role must be either <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code><!--!-->, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+
+ <tr>
+ <td><code>h3</code> element that does not have an <code>hgroup</code> ancestor
+ <td>No role
+ <td>Role must be either <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code><!--!-->, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+
+ <tr>
+ <td><code>h4</code> element that does not have an <code>hgroup</code> ancestor
+ <td>No role
+ <td>Role must be either <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code><!--!-->, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+
+ <tr>
+ <td><code>h5</code> element that does not have an <code>hgroup</code> ancestor
+ <td>No role
+ <td>Role must be either <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code><!--!-->, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+
+ <tr>
+ <td><code>h6</code> element that does not have an <code>hgroup</code> ancestor
+ <td>No role
+ <td>Role must be either <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code><!--!-->, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-tab">tab</code><!--!-->, or <code title="attr-aria-role-treeitem">treeitem</code><!--!-->
+<!--!--><!--(none of the preceding six rows make any sense)-->
+
+ <tr>
<td><code>header</code> element
<td>No role
<td>If specified, role must be <code title="attr-aria-role-banner">banner</code>
@@ -12069,12 +12127,27 @@
<td><code title="attr-aria-role-img">img</code> role
<td>No restrictions
+ <tr><!--!--><!--(there's no reason to convey <img> elements with alt="" text as images to an AT)-->
+ <td><code>img</code> element whose <code title="attr-img-alt">alt</code> attribute's value is present and not empty
+ <td><code title="attr-aria-role-img">img</code> role
+ <td>No restrictions
+
<tr>
+ <td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-button">Button</span> state
+ <td><code title="attr-aria-role-button">button</code> role
+ <td>Role must be either <code title="attr-aria-role-button">button</code>, <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code>, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-radio">radio</code><!--!-->
+
+ <tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-checkbox">Checkbox</span> state
<td><code title="attr-aria-role-checkbox">checkbox</code> role
<td>Role must be either <code title="attr-aria-role-checkbox">checkbox</code> or <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code>
<tr>
+ <td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-image">Image Button</span> state
+ <td><code title="attr-aria-role-button">button</code> role
+ <td>Role must be either <code title="attr-aria-role-button">button</code>, <code title="attr-aria-role-link">link</code><!--!-->, <code title="attr-aria-role-menuitem">menuitem</code>, <code title="attr-aria-role-menuitemcheckbox">menuitemcheckbox</code><!--!-->, <code title="attr-aria-role-menuitemradio">menuitemradio</code><!--!-->, <code title="attr-aria-role-radio">radio</code><!--!-->
+
+ <tr>
<td><code>input</code> element with a <code title="attr-input-type">type</code> attribute in the <span title="attr-input-type-radio">Radio Button</span> state
<td><code title="attr-aria-role-radio">radio</code> role
<td>Role must be either <code title="attr-aria-role-radio">radio</code> or <code title="attr-aria-role-menuitemradio">menuitemradio</code>