W3C home > Mailing lists > Public > wai-xtech@w3.org > July 2009

Re: label for, aria-label and aria-labelledby

From: James Craig <jcraig@apple.com>
Date: Wed, 1 Jul 2009 18:14:35 -0700
Message-Id: <C6039344-DFA0-4F14-B3F0-C9303900862D@apple.com>
Cc: wai-xtech@w3.org
To: "Schnabel, Stefan" <stefan.schnabel@sap.com>
You should be able to achieve that with an aria-labelledby reference  
to itself combined with a title attribute.

<div aria-labelledby="self other" title="foo" id="self">
	<h1 id="other">bar</h1>
</div>

Text equivalent for the div would be the concatenated "foo bar"…



On Jun 29, 2009, at 1:30 AM, Schnabel, Stefan wrote:

> I've observed that if you declare aria-labelledby = "(idreference)"  
> and aria-label = "xyz" at the same time for an input element in  
> FF3.5 aria-label always "wins".
>
> There may be situations where you may need both of them. In these  
> cases I would expect concatenation
> in the AccessibleName in MSAA like "idreferencetext xyz"
>
> Is such a feature planned for FF 3.6?
Received on Thursday, 2 July 2009 01:15:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 July 2009 01:15:20 GMT