RESOLVED WORKSFORME 69591
Image alt text not used as accessible name for ARIA listbox items
https://bugs.webkit.org/show_bug.cgi?id=69591
Summary Image alt text not used as accessible name for ARIA listbox items
Alice Boxhall
Reported 2011-10-06 18:38:18 PDT
Original bug: http://code.google.com/p/chromium/issues/detail?id=89217 When using images as content for role="option" items inside a role="listbox" element, the image's alt text is not used as the option's (i.e. list item's) accessible name. To reproduce: - Add the snippet below to an HTML document - Use Inspect, AccExplorer, AccProbe or aViewer to inspect the exposed structure - Result: The listbox exposes nameless children, even though it should expose "Sun Flower" and "Rose" as accessible name. <ul role="listbox"> <li tabindex="0" role="option" aria-selected="true"><img alt="Sun Flower" src="1.jpg" /></li> <li tabindex="-1" role="option" aria-selected="false"><img alt="Rose" src="2.jpg" /></li> </ul>
Attachments
test case (211 bytes, text/html)
2013-12-20 11:23 PST, James Craig
no flags
James Craig
Comment 1 2013-12-20 11:23:57 PST
Created attachment 219772 [details] test case
James Craig
Comment 2 2013-12-20 11:24:25 PST
Works now. See attached test case.
Note You need to log in before you can comment on or make changes to this bug.