Bug 241445

Summary: AX: menuitem gets clicked by mistake when using VoiceOver
Product: WebKit Reporter: Diego Haz <hazdiego>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Critical CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Apple Silicon)   
OS: Unspecified   

Diego Haz
Reported 2022-06-08 19:14:10 PDT
Steps to reproduce: 1. Open https://jsbin.com/wihowazami/1/edit?html,js,console,output on Safari Desktop 2. Activate VoiceOver. 3. Focus on the "Menu button" button. 4. Activate the menu button with VO+Space. 5. Try to move to the second menu item with VO+ArrowRight. 6. See the console output that says the first menu item has been clicked.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-06-08 19:14:19 PDT
Diego Haz
Comment 2 2022-06-08 19:31:21 PDT
I just would like to add that this bug happens when the role=menu element is initially hidden (e.g., with display: none), which is the case for most menu widgets.
Note You need to log in before you can comment on or make changes to this bug.