RESOLVED FIXED 224617
AX: inverse role synonyms "presentation" and "none" to make "none" the primary
https://bugs.webkit.org/show_bug.cgi?id=224617
Summary AX: inverse role synonyms "presentation" and "none" to make "none" the primary
James Craig
Reported 2021-04-15 11:20:32 PDT
AX: inverse role synonyms "presentation" and "none" to make "none" the primary ARIA "none" has had very good browser support for a number of years, so the ARIA spec is making it the primary role (over the original name "presentation"). Currently "presentation" is the returned role in WebKit's reverse enum lookup (computedRoleString IIRC?). Since "presentation" will be deprecated, the computed role string should return the ARIA 1.1 "none" role, over the 1.0 "presentation" role. The deprecated "presentation" role should remain in WebKit for backwards compatibility.
Attachments
screen shot (46.33 KB, image/png)
2021-04-15 11:39 PDT, James Craig
no flags
patch (7.31 KB, patch)
2021-04-22 11:28 PDT, chris fleizach
no flags
patch (3.56 KB, patch)
2021-04-26 12:24 PDT, chris fleizach
no flags
Patch (2.85 KB, patch)
2023-03-24 16:59 PDT, chris fleizach
ews-feeder: commit-queue-
Patch (2.85 KB, patch)
2023-03-24 17:21 PDT, chris fleizach
no flags
Patch (4.26 KB, patch)
2023-03-24 23:10 PDT, chris fleizach
no flags
Radar WebKit Bug Importer
Comment 1 2021-04-15 11:20:46 PDT
James Craig
Comment 2 2021-04-15 11:21:07 PDT
related bug 224615
James Craig
Comment 3 2021-04-15 11:36:37 PDT
To clarify where this will result in end-user impact... The WebKit Web Inspector Accessibility Node Inspector will return role "none" or "none (computed)" See attached image of that UI.
James Craig
Comment 4 2021-04-15 11:39:21 PDT
Created attachment 426120 [details] screen shot
chris fleizach
Comment 5 2021-04-22 11:28:57 PDT
Devin Rousso
Comment 6 2021-04-22 12:01:20 PDT
Comment on attachment 426831 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=426831&action=review > LayoutTests/inspector/audit/run-accessibility-expected.txt:11 > -Result: [] > -Audit teardown... > +Result: Audit teardown... This seems scary. I wouldn't expect this looking at your other changes 🤔
chris fleizach
Comment 7 2021-04-22 12:02:48 PDT
(In reply to Devin Rousso from comment #6) > Comment on attachment 426831 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=426831&action=review > > > LayoutTests/inspector/audit/run-accessibility-expected.txt:11 > > -Result: [] > > -Audit teardown... > > +Result: Audit teardown... > > This seems scary. I wouldn't expect this looking at your other changes 🤔 I agree. I was hoping someone would say, "that looks expected" I don't understand why it appeared, but will dig into it further
chris fleizach
Comment 8 2021-04-26 12:24:14 PDT
Devin Rousso
Comment 9 2021-05-12 16:46:48 PDT
Comment on attachment 427078 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=427078&action=review rs=me > Source/WebCore/accessibility/AccessibilityObject.cpp:2182 > + // http://webkit.org/b/224617 - prefer "none" as the canonical role to be used for presentationals (instead of "presentation" Rather than have a link to the bugzilla, can you explain inline why this is the way it is (ideally with a link to a spec if possible)?
James Craig
Comment 10 2023-03-21 00:02:09 PDT
Tagging WPTImpact because this may fail with some of the impending role tests coming with the Interop 2023 Accessibility Investigation. https://github.com/w3c/core-aam/issues/166
James Craig
Comment 11 2023-03-24 16:16:50 PDT
FYI the link to the spec change Devin asked for is now in this ARIA Core-AAM patch: https://github.com/w3c/core-aam/pull/167/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051R1097
James Craig
Comment 12 2023-03-24 16:19:50 PDT
chris fleizach
Comment 13 2023-03-24 16:59:33 PDT
chris fleizach
Comment 14 2023-03-24 17:21:16 PDT
chris fleizach
Comment 15 2023-03-24 23:10:08 PDT
EWS
Comment 16 2023-03-25 15:59:52 PDT
Committed 262119@main (d5fbadeac7c4): <https://commits.webkit.org/262119@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 465584 [details].
Note You need to log in before you can comment on or make changes to this bug.