Re: Adding ARIA properties to form elements with class names

On 25 April 2014 14:18, Joshue O Connor <> 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



HTML 5.1 <>

Received on Friday, 25 April 2014 13:27:52 UTC