Bug 125363 - AX: WebKit ignores @alt on IMG elements with role="text"
Summary: AX: WebKit ignores @alt on IMG elements with role="text"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-12-06 13:34 PST by James Craig
Modified: 2013-12-09 06:14 PST (History)
9 users (show)

See Also:


Attachments
patch (6.54 KB, patch)
2013-12-08 11:45 PST, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2013-12-06 13:34:07 PST
AX: WebKit ignores @alt on IMG elements with role="text"

This does not output anything:
<img role="text" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="100" height="100" alt="foo" />

But it does if you add @aria-label:
<img role="text" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="100" height="100" alt="foo" aria-label="foo" />
Comment 1 James Craig 2013-12-06 14:15:08 PST
<rdar://problem/15607736>
Comment 2 chris fleizach 2013-12-08 11:45:12 PST
Created attachment 218703 [details]
patch
Comment 3 WebKit Commit Bot 2013-12-09 06:14:28 PST
Comment on attachment 218703 [details]
patch

Clearing flags on attachment: 218703

Committed r160311: <http://trac.webkit.org/changeset/160311>
Comment 4 WebKit Commit Bot 2013-12-09 06:14:31 PST
All reviewed patches have been landed.  Closing bug.