W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2014

Re: Adding ARIA properties to form elements with class names

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Fri, 25 Apr 2014 14:26:43 +0100
Message-ID: <CA+ri+V=JHN7zOD6LTG1wYrOrtPdziFdGSCfg7x0P5mhme2VMnA@mail.gmail.com>
To: Joshue O Connor <joshue.oconnor@cfit.ie>
Cc: "public-pfwg-comments@w3.org" <public-pfwg-comments@w3.org>, "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
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



HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
Received on Friday, 25 April 2014 13:27:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:51 UTC