Bug 224615

Summary: AX: Add ARIA role "image" as a new role, and leave "img" as a synonym
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Tyler Wilcock <twilco.o>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, hi, jdiggs, samuel_white, twilco.o, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

James Craig
Reported 2021-04-15 11:09:05 PDT
AX: Add ARIA role "image" as a new role, and leave "img" as a synonym It hasn't yet been merged into the editor's draft, but it will be here. https://w3c.github.io/aria/#image The 'img' role will remain, but be deprecated eventually after browser support moves sufficiently to support role="image" https://w3c.github.io/aria/#img I don't think WebKit should ever remove "img" as a role synonym, but the returned role string (reverse lookup of the enum) should use the new one: "image" Related ARIA issues/PRs: https://github.com/w3c/aria/issues/758 https://github.com/w3c/aria/pull/1370 https://github.com/w3c/aria/issues/1456
Attachments
Patch (21.99 KB, patch)
2021-07-11 20:01 PDT, Tyler Wilcock
no flags
Radar WebKit Bug Importer
Comment 1 2021-04-15 11:09:14 PDT
James Craig
Comment 2 2021-04-15 11:21:28 PDT
related bug related bug 224617
Tyler Wilcock
Comment 3 2021-07-11 20:01:50 PDT
chris fleizach
Comment 4 2021-07-12 09:10:54 PDT
thanks!
EWS
Comment 5 2021-07-12 09:14:36 PDT
Committed r279829 (239590@main): <https://commits.webkit.org/239590@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433296 [details].
Note You need to log in before you can comment on or make changes to this bug.