Bug 160705 - AX: @alt and bounds ignored when using img[src] points to an inaccessible SVG
Summary: AX: @alt and bounds ignored when using img[src] points to an inaccessible SVG
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-08-09 13:11 PDT by James Craig
Modified: 2016-08-09 13:18 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2016-08-09 13:11:18 PDT
Test case from Deque
http://a11yideas.com/testcode/mwp/iOSsvg.html

If you link an entirely inaccessible SVG (no accessible contents), WebKit should respect the @alt attribute from the linking HTML, use the outer bounds of the SVG canvas as the image bounds, and use the AXImage role instead of AXGroup.
Comment 1 Radar WebKit Bug Importer 2016-08-09 13:11:37 PDT
<rdar://problem/27771579>
Comment 2 James Craig 2016-08-09 13:18:28 PDT
See related discussion from bug 145263.