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
<rdar://problem/76712968>
related bug related bug 224617
Created attachment 433296 [details] Patch
thanks!
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].