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

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 UTC