WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug