NEW 288830
AX: Building the accessibility tree should not create one ComposedTreeIterator for each DOM layer as it builds recursively downwards
https://bugs.webkit.org/show_bug.cgi?id=288830
Summary AX: Building the accessibility tree should not create one ComposedTreeIterato...
Tyler Wilcock
Reported 2025-02-28 07:22:12 PST
Right now, the accessibility tree is built recursively, and at each layer of the DOM we create a new ComposedTreeIterator. It would be much more efficient to use one ComposedTreeIterator throughout each "build cycle" to traverse all descendants rather than creating a new one at each stack frame. This will likely require some larger changes to how we build the accessibility tree.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-28 07:22:22 PST
Tyler Wilcock
Comment 2 2025-02-28 07:24:07 PST
Tyler Wilcock
Comment 3 2025-02-28 07:24:48 PST
(In reply to Tyler Wilcock from comment #2) > https://github.com/WebKit/WebKit/pull/41365 Sorry, this should've been paired with a comment — this PR fixes an issue caused by our current behavior.
Note You need to log in before you can comment on or make changes to this bug.