[Webkit-unassigned] [Bug 215739] New: AX: menu items are treated as menu buttons if they are contained in a group

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 21 12:57:28 PDT 2020


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

            Bug ID: 215739
           Summary: AX: menu items are treated as menu buttons if they are
                    contained in a group
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jcraig at apple.com
                CC: webkit-bug-importer at group.apple.com

commit 478547cfff0c1c4d0d1def735f9576ac60711d16 (May 2008) introduced behavior that treats menu items as menu buttons if they are contained in an element with the group role.

+    if (equalIgnoringCase(ariaRole,"menuitem")) {
+        if (parentObjectUnignored()->ariaRoleAttribute() == GroupRole)
+            return MenuButtonRole;

It's not clear to me (or the other ARIA editors) why this is. The macOS AX API mapping behavior was later added to the AAM document to match the existing WebKit behavior. Unless a reason emerges, the AAM guidance is going to change. Filing this bug to determine if there is a reason, and if not, as a tracker for the relevant WebKit change to remove this behavior.

Perhaps this was a heuristic conditional intended to determine if there was a menuitem that was not contained in a menu or menubar? If so, the conditional should check if *any* ancestor element matches those roles.

-- 
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/20200821/7183a054/attachment-0001.htm>


More information about the webkit-unassigned mailing list