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

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

From: Schnabel, Stefan <stefan.schnabel@sap.com>
Date: Thu, 2 Jul 2009 13:27:39 +0200
Message-ID: <E34714E1E6587741AD32C8E445B6F4AB01878F0F@dewdfe1o.wdf.sap.corp>
To: "James Craig" <jcraig@apple.com>
Cc: <wai-xtech@w3.org>
Thanks, but this workaround implies that the element itself contains a
text node that can be used as label text :)

But what to do for INPUT as originally asked? I think this has been
already recognized + addressed by Joseph (ISSUE-334) Let's wait for the
outcome.

- Stefan

-----Original Message-----
From: James Craig [mailto:jcraig@apple.com] 
Sent: Donnerstag, 2. Juli 2009 03:15
To: Schnabel, Stefan
Cc: wai-xtech@w3.org
Subject: Re: label for, aria-label and aria-labelledby

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 11:28:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 July 2009 11:28:22 GMT