RE: ARIA semantics for secondary navigation

On May 19, 2009, at 11:44 PM, Schnabel, Stefan wrote:

> I want to ask an heretic question:
>
> Who says that a text node referenced by "aria-labelledby" MUST/SHALL/ 
> HAS
> TO be visible?


No one, but there isn't much point in using aria-labelledby if you're  
gonna hide the label. In that case, it'd be easier to use aria-label  
or @title.

 From the spec:
If the label text is visible on screen, authors SHOULD use aria- 
labelledby and SHOULD NOT use aria-label. Use aria-label only if the  
interface is such that it is not possible to have a visible label on  
the screen.

http://www.w3.org/WAI/PF/aria/#aria-label
http://www.w3.org/WAI/PF/aria/#aria-labelledby

Received on Wednesday, 20 May 2009 07:41:16 UTC