WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: aria-labelledby vs aria-activedescendant

for

From: Bourne, Sarah (ITD)
Date: Aug 22, 2011 8:24AM


I have neither info nor experience, but it's tickling a memory of struggling with CSS for UL/LI a (very) long time ago. I was trying to set something at the container level (UL) but it was not carrying through to the items inside that container (the LIs.) I remember thinking that perhaps it was because the UL has no content other than other elements. If true, then this could be tripping up your example: it can't find direct content to use the label with. I would try adding the aria-labelledby to the list items since that's what worked for my CSS problem.

(I assume you have a specific reason for not using the SELECT input, which screen readers know how to deal with.)

sb

Sarah E. Bourne
Director of Assistive Technology &
Mass.Gov Chief Technology Strategist
Information Technology Division
Commonwealth of Massachusetts
1 Ashburton Pl. rm 1601 Boston MA 02108
617-626-4502  fax 617-626-4516
http://twitter.com/sarahebourne
<EMAIL REMOVED>
http://www.mass.gov/itd