[Webkit-unassigned] [Bug 243373] New: AX: An unnecessary group is created for every block-flow box with no other useful AX semantics
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jul 30 10:38:17 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243373
Bug ID: 243373
Summary: AX: An unnecessary group is created for every
block-flow box with no other useful AX semantics
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tyler_w at apple.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
At the end of AccessibilityRenderObject::determineAccessibilityRole, we have this logic:
if (m_renderer->isRenderBlockFlow())
return m_renderer->isAnonymousBlock() ? AccessibilityRole::TextGroup : AccessibilityRole::Group;
This causes us to create a group from every block-flow box that doesn't otherwise have any useful AX semantics. This is problematic because:
1. It makes the AX tree diverge from the DOM in a way that makes inserting node-only children (e.g. those with display:contents) at the right index in AccessibilityRenderObject::addNodeOnlyChildren hard or impossible
2. Causes wasted work for WebKit by having to created isolated objects for these unnecessary groups
3. Causes wasted work for AX clients who have to filter through these semantics-less groups
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220730/ed919a67/attachment-0001.htm>
More information about the webkit-unassigned
mailing list