[Webkit-unassigned] [Bug 253796] New: AX: Reduce main-thread hits for descriptionAttributeValue, titleAttributeValue, and accessibilityHitTest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 12 12:50:16 PDT 2023


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

            Bug ID: 253796
           Summary: AX: Reduce main-thread hits for
                    descriptionAttributeValue, titleAttributeValue, and
                    accessibilityHitTest
           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

For AccessibilityRole::StaticText objects, descriptionAttributeValue and titleAttributeValue are hardcoded to return empty string. We know an object's role value before going to the main-thread, so let's use this information. Also, accessibilityHitTest goes to the main-thread to access AXCoreObject::widget without checking AXCoreObject::isWidget first, which incurs unnecessary main-thread hits for things that are not widgets.

-- 
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/20230312/88431780/attachment-0001.htm>


More information about the webkit-unassigned mailing list