RE: Adding ARIA properties to form elements with class names

ARIA selectors are being discussed in the PFWG.



http://lists.w3.org/Archives/Public/public-pfwg/2014Mar/0094.html



Jonathan



*From:* Steve Faulkner [mailto:faulkner.steve@gmail.com]
*Sent:* Friday, April 25, 2014 9:27 AM
*To:* Joshue O Connor
*Cc:* public-pfwg-comments@w3.org; w3c-wai-ig@w3.org
*Subject:* Re: Adding ARIA properties to form elements with class names





On 25 April 2014 14:18, Joshue O Connor <joshue.oconnor@cfit.ie> wrote:

Can ARIA properties be added to input controls using class names, rather
than using IDs?



hi Josh assuming you mean can the class name be used as a ref, for example:


<span class="classa">label</span>



<a aria-labelledby="classa">text</a>

answer is no, only references to valid id values


--

Regards

SteveF

HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>

Received on Friday, 25 April 2014 13:34:07 UTC