- From: Steven Faulkners via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 21 Feb 2011 12:17:05 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-api-map In directory hutz:/tmp/cvs-serv24504 Modified Files: overview.html Log Message: updated and added to naem/desc calculations Index: overview.html =================================================================== RCS file: /sources/public/html5/html-api-map/overview.html,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- overview.html 17 Feb 2011 12:47:01 -0000 1.26 +++ overview.html 21 Feb 2011 12:17:03 -0000 1.27 @@ -52,7 +52,7 @@ <BODY> <div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a></p><h1 class="title" id="title">HTML to Platform Accessibility APIs Implementation Guide</h1> <h2 id="subhead">A user agent developer's guide to understanding and implementing accessibility support in HTML</h2> -<h2 id="w3c-editors-draft"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft, 17 February 2011</h2> +<h2 id="w3c-editors-draft"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft, 21 February 2011</h2> @@ -2659,9 +2659,18 @@ <li>If the control has a non-empty <code>placeholder</code> attribute and a non-empty <code>title</code> attribute and associated non-empty <code>label</code> element, use the content of the <code>label</code> element as the control's accessible name. Use the content of the <code>title</code> attribute concatenated with the content of the <code>placeholder</code> attribute as the control's accessible description.</li> <li>If a control does not have a non-empty <code>placeholder</code> attribute or a non-empty associated <code>label</code> element or a non-empty <code>title</code> attribute, the control's accessible name is an empty string and the control's accessible description is an empty string. </li> </ul> - <h3>Other form elements</h3> + <h3>input type="button", input type="image", input type="submit", input type="reset"</h3> + <p>If the control has an <code><a href="http://www.w3.org/TR/wai-aria/states_and_properties#aria-label">aria-label</a></code> or an <code><a href="http://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby">aria-labelledby</a></code> attribute the accessible name is to be calculated using the algorithm defined in section <a href="http://www.w3.org/TR/wai-aria/roles#namecalculation">5.2.7. Accessible Name Calculation</a> of the <a href="http://www.w3.org/TR/wai-aria/">WAI-ARIA 1.0 specification</a>. </p> + <p>Otherwise the accessible name is derived from the following sources; a non-empty associated <a href="http://dev.w3.org/html5/spec/forms.html#the-label-element"><code>label</code></a> element, the <code>value</code> attribute, the <code>alt</code> attribute, or a non-empty <a href="http://dev.w3.org/html5/spec/semantics.html#the-title-element-0"><code>title</code></a> attribute.</p> + <ul> + <li>If the control has neither a non-empty associated <code>label</code> element or a non-empty <code>title</code> attribute the control's accessible name is an empty string and the control's accessible description is an empty string.</li> + <li>If the control has a non-empty associated <code>label</code> element, but not a non-empty <code>title</code> attribute, use the content of the associated <code>label</code> element as the control's accessible name.</li> + <li>If the control has a non-empty <code>title</code> attribute, but not a non-empty associated <code>label</code> element, use the content of the <code>title</code> attribute as the control's accessible name.</li> + <li>If the control has a non-empty associated <code>label</code> element and a non-empty <code>title</code> attribute, use the content of the associated <code>label</code> element as the control's accessible name. Use the content of the <code>title</code> attribute as the control's accessible description.</li> + </ul> +<h3>Other form elements</h3> <p>If the control has an <code><a href="http://www.w3.org/TR/wai-aria/states_and_properties#aria-label">aria-label</a></code> or an <code><a href="http://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby">aria-labelledby</a></code> attribute the accessible name is to be calculated using the algorithm defined in section <a href="http://www.w3.org/TR/wai-aria/roles#namecalculation">5.2.7. Accessible Name Calculation</a> of the <a href="http://www.w3.org/TR/wai-aria/">WAI-ARIA 1.0 specification</a>. </p> - <p>Otherwise the accessible name is derived from the following sources; a non-empty associated <a href="http://dev.w3.org/html5/spec/forms.html#the-label-element"><code>label</code></a> element or a non-empty <a href="http://dev.w3.org/html5/spec/semantics.html#the-title-element-0"><code>title</code></a> attribute.</p> + <p>Otherwise the accessible name is derived from the following sources; a non-empty associated <a href="http://dev.w3.org/html5/spec/forms.html#the-label-element"><code>label</code></a> element, the <code>value</code> attribute, the <code>alt</code> attribute, or a non-empty <a href="http://dev.w3.org/html5/spec/semantics.html#the-title-element-0"><code>title</code></a> attribute.</p> <ul> <li>If the control has neither a non-empty associated <code>label</code> element or a non-empty <code>title</code> attribute the control's accessible name is an empty string and the control's accessible description is an empty string.</li> <li>If the control has a non-empty associated <code>label</code> element, but not a non-empty <code>title</code> attribute, use the content of the associated <code>label</code> element as the control's accessible name.</li>
Received on Monday, 21 February 2011 12:17:07 UTC