Bug 226288 - AX: contextmenu event not triggered for ARIA treeitem
Summary: AX: contextmenu event not triggered for ARIA treeitem
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 14
Hardware: Mac (Intel) macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-26 13:19 PDT by Todd Kloots
Modified: 2021-05-26 13:27 PDT (History)
1 user (show)

See Also:


Attachments
Screen recording illustrating the bug in Safari (2.46 MB, video/quicktime)
2021-05-26 13:26 PDT, Todd Kloots
no flags Details
Screen recording demonstrating how this works correct in Chrome (2.83 MB, video/quicktime)
2021-05-26 13:27 PDT, Todd Kloots
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Kloots 2021-05-26 13:19:07 PDT
Steps to reproduce

Using VoiceOver navigation
1. Start VoiceOver
2. Go to https://codepen.io/toddlr/pen/vYyJyVz
3. Use VoiceOver navigation (e.g. Control-Option-Right Arrow) to navigate to an ARIA treeitem instance
4. Invoke a contextmenu on the ARIA treeitem instance by pressing Control-Option-Shift-M
5. Observe how the custom context menu is NOT displayed, the browser's context menu is displayed instead

Using keyboard shortcuts
1. Start VoiceOver
2. Go to https://codepen.io/toddlr/pen/vYyJyVz
3. Press tab to navigate to the ARIA tree instance
4. Use the arrow keys to move focus to a particular ARIA treeitem
4. Invoke a contextmenu on the ARIA treeitem instance by pressing Control-Option-Shift-M
5. Observe how the custom context menu is NOT displayed, the browser's context menu is displayed instead
Comment 1 Radar WebKit Bug Importer 2021-05-26 13:19:21 PDT
<rdar://problem/78528738>
Comment 2 Todd Kloots 2021-05-26 13:26:25 PDT
Created attachment 429787 [details]
Screen recording illustrating the bug in Safari
Comment 3 Todd Kloots 2021-05-26 13:27:13 PDT
Created attachment 429788 [details]
Screen recording demonstrating how this works correct in Chrome