Bug 171233

Summary: AX: On Mac OS X, intuitive arrowing is broken when VoiceOver is running within ARIA Menu constructs.
Product: WebKit Reporter: Bryan Garaventa <b>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Major CC: bfulgham, soniap315, todd.kloots, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
XCode project illustrating the differences between using VoiceOver to operate an NSMenu and a menu built using ARIA none

Bryan Garaventa
Reported 2017-04-24 10:52:23 PDT
When viewing a vertical menu construct, the Up and Down arrow keys are used to navigate through the open menu, and Right and Left is used to open and close submenus when there is an attached menu. This works correctly when VoiceOver is not running, however when VoiceOver is running, it is not possible to use the same keyboard paradigm to navigate the same menu structure. Steps to reproduce: 1. Navigate to the test page at: http://whatsock.com/tsg/Coding%20Arena/ARIA%20Menus/Vertical%20(Internal%20Content)/demo.htm 2. With VoiceOver not running, activate the menu button to render the vertical menu, then press the Up and Down arrow keys to traverse the menu items, and the Right and Left arrow keys to open and close attached submenus. Then press Escape until all menus are closed and focus is set back on the menu button. 3. Confirm that the keyboard behavior observed in step #2 is expected. 4. With VoiceOver activated, repeat step #2 and attempt to use the same keystrokes using the VO navigation keys to perform the same interaction. 5. Confirm that the Up and Down arrow keys can no longer be used to traverse through the available menu items as expected.
Attachments
XCode project illustrating the differences between using VoiceOver to operate an NSMenu and a menu built using ARIA (35.60 KB, application/zip)
2023-11-30 14:24 PST, Todd Kloots
no flags
Radar WebKit Bug Importer
Comment 1 2017-04-24 10:55:59 PDT
Brent Fulgham
Comment 2 2023-06-08 13:15:06 PDT
The linked web page has no example menu. When we visited some of the other links, we found an example of a menu with lists, but it worked with VoiceOver. Would need more information to figure out what’s wrong here. Can you supply any other details to help reproduce the issue?
Todd Kloots
Comment 3 2023-11-30 14:24:47 PST
Created attachment 468827 [details] XCode project illustrating the differences between using VoiceOver to operate an NSMenu and a menu built using ARIA
Todd Kloots
Comment 4 2023-11-30 14:31:42 PST
I can add some clarity to what Bryan Garaventa meant in his original comment/bug report. The issue is you can use VO + up/down arrows to navigate items in an NSMenu but not a menu built using web technologies. Repro Steps: 1. Download and unzip the attached XCode project (VO Web Menu.zip) 2. Run webbug.xcodeproj 3. Turn on VO 4. Move focus to the "About" button in the left pane 5. Use VO + spacebar to open the menu 6. Press VO + up/down arrow to navigate through the items in the menu 7. Press Esc to close the menu 8. Move focus to the "About" button in the right pane 9. Use VO + spacebar to open the menu 10. Press VO + up/down arrow to navigate through the items in the menu 11. Observe how VO + up/down arrow cannot be used to navigate the items in the menu as it can in an NSMenu instance
Note You need to log in before you can comment on or make changes to this bug.