- From: poot <cvsmail@w3.org>
- Date: Thu, 28 Apr 2011 17:55:26 -0400
- To: public-html-diffs@w3.org
hixie: Discourage cargo-cult authoring that would lead to poor accessibility. (whatwg r6040) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4849&r2=1.4850&f=h http://html5.org/tools/web-apps-tracker?from=6039&to=6040 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4849 retrieving revision 1.4850 diff -u -d -r1.4849 -r1.4850 --- Overview.html 28 Apr 2011 19:34:19 -0000 1.4849 +++ Overview.html 28 Apr 2011 21:51:45 -0000 1.4850 @@ -9690,10 +9690,16 @@ and <code title="attr-aria-*">aria-*</code> attributes on <a href="#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="#refsARIA">[ARIA]</a><div class="impl"> + the actual state of the document. <a href="#refsARIA">[ARIA]</a><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.<div class="impl"> <p>User agents are required to implement ARIA semantics on all <a href="#html-elements">HTML elements</a>, as defined in the ARIA @@ -9701,19 +9707,14 @@ below must be recognized by implementations. <a href="#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="#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><table id="table-aria-strong"><thead><tr><th>Language feature - <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="#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><table id="table-aria-strong"><thead><tr><th>Language feature + <th>Strong native semantics and default implied ARIA semantics <tbody><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 @@ -9904,14 +9905,15 @@ <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>, - 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.<table id="table-aria-weak"><thead><tr><th>Language feature <th>Default implied ARIA semantic <th>Restrictions
Received on Thursday, 28 April 2011 21:55:28 UTC