RESOLVED FIXED 235204
AX: Move methods that are unnecessarily in AccessibilityRenderObject to AccessibilityNodeObject (part 1 / n)
https://bugs.webkit.org/show_bug.cgi?id=235204
Summary AX: Move methods that are unnecessarily in AccessibilityRenderObject to Acces...
Tyler Wilcock
Reported 2022-01-13 14:21:36 PST
Many methods in AccessibilityRenderObject don't actually do anything renderer-specific, and thus should be in the base class AccessibilityNodeObject. This will help improve our support for AX objects that normally have renderers, but don't because of CSS or ARIA markup (e.g. display: contents).
Attachments
Patch (17.21 KB, patch)
2022-01-13 14:27 PST, Tyler Wilcock
no flags
Patch (17.21 KB, patch)
2022-01-13 15:36 PST, Tyler Wilcock
ews-feeder: commit-queue-
Radar WebKit Bug Importer
Comment 1 2022-01-13 14:21:48 PST
Tyler Wilcock
Comment 2 2022-01-13 14:27:17 PST
chris fleizach
Comment 3 2022-01-13 14:34:27 PST
Comment on attachment 449111 [details] Patch can we add a test here that fixes some aspect of display: contents
Tyler Wilcock
Comment 4 2022-01-13 14:42:53 PST
Not with this patch. display: contents elements currently have no representation in the tree, so there is no element to test against. I have a WIP patch that makes them part of the tree, but it would require a fair amount more work before becoming something coherent and landable. What the above patch does is prepare us for when display: contents nodes are part of the tree by moving node-only functionality to AccessibilityNodeObject, as display contents elements won’t have renderers.
Tyler Wilcock
Comment 5 2022-01-13 15:36:26 PST
EWS
Comment 6 2022-01-14 08:41:41 PST
Committed r288018 (246044@main): <https://commits.webkit.org/246044@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449121 [details].
Note You need to log in before you can comment on or make changes to this bug.