Bug 248043

Summary: AX: ARIA menuitems announced as "interactive" by VoiceOver
Product: WebKit Reporter: Todd Kloots <todd.kloots>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: andresg_22, bfulgham, cfleizach, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: All   
OS: All   
Attachments:
Description Flags
XCode project illustrating the differences between using VoiceOver to operate an NSMenu and a menu built using ARIA none

Description Todd Kloots 2022-11-17 09:03:22 PST
Created attachment 463586 [details]
XCode project illustrating the differences between using VoiceOver to operate an NSMenu and a menu built using ARIA

The attached XCode project demonstrates the differences between using VoiceOver to operate an NSMenu and a menu built using ARIA. VoiceOver does not treat them equally.

Steps:

1. Download and unzip the attached XCode project (VO Web Menu.zip)
2. Run webbug.xcodeproj
3. Turn on VO
4. Navigate to the "About" button in the WKWebView
5. Use VO + spacebar to open the menu
6. Use the down arrow key to move focus to one of the menuitems
7. Observe how VO announces menuitems as "interactive"
8. Move focus to the "About" button in the other pane
9. Use VO + spacebar to open the menu
10. Press the down arrow key to move focus to one of the menuitems
11. Observe how VO announces simply announces the label of the menuitem, it does not announce "interactive"
Comment 1 Radar WebKit Bug Importer 2022-11-17 09:03:34 PST
<rdar://problem/102469470>
Comment 2 chris fleizach 2022-12-25 23:11:45 PST
This will be fixed in VoiceOver code
Comment 3 Brent Fulgham 2023-04-11 16:53:07 PDT
The fix for this issue shipped as part of macOS 13.3.1.
Comment 4 Todd Kloots 2023-11-30 16:27:19 PST
Verified fixed. Tested using Mac OS 14.1.1 in both Chrome (Version 119.0.6045.199) and Safari (Version 17.1 (19616.2.9.11.7)).