- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 28 Apr 2011 22:01:43 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4082
Modified Files:
content-models.html spec.html
Log Message:
Discourage cargo-cult authoring that would lead to poor accessibility. (whatwg r6040)
[updated by splitter]
Index: content-models.html
===================================================================
RCS file: /sources/public/html5/spec/content-models.html,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- content-models.html 27 Apr 2011 05:46:50 -0000 1.60
+++ content-models.html 28 Apr 2011 22:01:41 -0000 1.61
@@ -976,10 +976,16 @@
and <code title="attr-aria-*">aria-*</code> attributes on <a href="infrastructure.html#html-elements">HTML
elements</a>, in accordance with the requirements described in
the ARIA specifications, except where these conflict with the
- <span>strong native semantics</span> described below. These
+ <span>strong native semantics</span> or are equal to the
+ <span>default implied ARIA semantics</span> described below. These
exceptions are intended to prevent authors from making assistive
technology products report nonsensical states that do not represent
- the actual state of the document. <a href="references.html#refsARIA">[ARIA]</a></p><div class="impl">
+ the actual state of the document. <a href="references.html#refsARIA">[ARIA]</a></p><p>Authors must not set the ARIA <code title="attr-aria-role">role</code> and <code title="attr-aria-*">aria-*</code> attributes in a manner that
+ conflicts with the semantics described in the following table,
+ except that the <code title="attr-aria-role-presentation">presentation</code> role may
+ always be used. Authors must not set the ARIA <code title="attr-aria-role">role</code> and <code title="attr-aria-*">aria-*</code> attributes to values that match
+ the <span>default implicit ARIA semantics</span> defined in the
+ following two tables.</p><div class="impl">
<p>User agents are required to implement ARIA semantics on all
<a href="infrastructure.html#html-elements">HTML elements</a>, as defined in the ARIA
@@ -987,19 +993,14 @@
below must be recognized by implementations. <a href="references.html#refsARIAIMPL">[ARIAIMPL]</a></p>
</div><p>The following table defines the <span>strong native
- semantics</span> <span class="impl">and corresponding <span>implicit
- ARIA semantics</span></span> that apply to <a href="infrastructure.html#html-elements">HTML
- elements</a>. Each language feature (element or attribute) in a
- cell in the first column implies the ARIA semantics (role, states,
- and/or properties) given in the cell in the second column of the
- same row. Authors must not set the ARIA <code title="attr-aria-role">role</code> and <code title="attr-aria-*">aria-*</code> attributes in a manner that
- conflicts with the semantics described in the following table,
- except that the <code title="attr-aria-role-presentation">presentation</code> role may
- always be used. <span class="impl">When multiple rows apply to an
- element, the role from the last row to define a role must be
- applied, and the states and properties from all the rows must be
- combined.</span></p><table id="table-aria-strong"><thead><tr><th>Language feature
- </th><th>Strong native semantics <span class="impl">and implied ARIA semantics</span>
+ semantics</span> and corresponding <span>default implicit ARIA
+ semantics</span> that apply to <a href="infrastructure.html#html-elements">HTML elements</a>. Each
+ language feature (element or attribute) in a cell in the first
+ column implies the ARIA semantics (role, states, and/or properties)
+ given in the cell in the second column of the same row. <span class="impl">When multiple rows apply to an element, the role from
+ the last row to define a role must be applied, and the states and
+ properties from all the rows must be combined.</span></p><table id="table-aria-strong"><thead><tr><th>Language feature
+ </th><th>Strong native semantics and default implied ARIA semantics
</th></tr></thead><tbody><tr><td><code><a href="the-map-element.html#the-area-element">area</a></code> element that creates a <a href="links.html#hyperlink">hyperlink</a>
</td><td><code title="attr-aria-role-link">link</code> role
@@ -1190,14 +1191,15 @@
</td><td>The <code title="title-aria-invalid">aria-invalid</code> state set to "true"
</td></tr></tbody></table><p>Some <a href="infrastructure.html#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>,
- along with the restrictions that apply to those elements. Each
- language feature (element or attribute) in a cell in the first
- column implies, unless otherwise overridden, the ARIA semantic (role,
- state, or property) given in the cell in the second column of the
- same row, but this semantic may be overridden under the conditions
- listed in the cell in the third column of that row. In addition, any
- element may be given the <code title="attr-aria-role-presentation">presentation</code> role,
+ overridden. The following table lists these elements and their
+ <span>default implicit ARIA semantics</span>, along with the
+ restrictions that apply to those elements. Each language feature
+ (element or attribute) in a cell in the first column implies, unless
+ otherwise overridden, the ARIA semantic (role, state, or property)
+ given in the cell in the second column of the same row, but this
+ semantic may be overridden under the conditions listed in the cell
+ in the third column of that row. In addition, any element may be
+ given the <code title="attr-aria-role-presentation">presentation</code> role,
regardless of the restrictions below.</p><table id="table-aria-weak"><thead><tr><th>Language feature
</th><th>Default implied ARIA semantic
</th><th>Restrictions
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1454
retrieving revision 1.1455
diff -u -d -r1.1454 -r1.1455
--- spec.html 28 Apr 2011 20:00:27 -0000 1.1454
+++ spec.html 28 Apr 2011 22:01:41 -0000 1.1455
@@ -367,7 +367,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.4849.
+This is revision 1.4850.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Thursday, 28 April 2011 22:01:45 UTC