[Webkit-unassigned] [Bug 253464] New: AX: Consider simplifying AccessibilityObject::supportsPressAction, AccessibilityObject::actionElement, and AccessibilityObject::press

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 6 14:10:44 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253464

            Bug ID: 253464
           Summary: AX: Consider simplifying
                    AccessibilityObject::supportsPressAction,
                    AccessibilityObject::actionElement, and
                    AccessibilityObject::press
           Product: WebKit
           Version: Other
          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

Right now, AccessibilityObject::supportsPressAction and AccessibilityObject::actionElement do complicated and expensive traversals and heuristics to determine if we can expose otherwise inaccessible click handler elements. For example:

<span onclick="handleClick(this)" style="...styled to look like a button...">
  Open Shopping Cart (inaccessible because there is no role="button")
</span>

We should consider reworking all of these functions to instead expose (compute accessibilityIsIgnored = false) elements with click handlers that have only one accessible descendant, as this will be simpler than our current implementation.

Context: https://bugs.webkit.org/show_bug.cgi?id=253337#c9

-- 
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/20230306/2e2d5e89/attachment.htm>


More information about the webkit-unassigned mailing list