Bug 219440

Summary: AX: VoiceOver on MacOS ignores aria-checked value change on menuitemcheckbox role
Product: WebKit Reporter: lei.yang1123
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: sarahmhigley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.15   
See Also: https://bugs.webkit.org/show_bug.cgi?id=222916
Attachments:
Description Flags
VoiceOver on menuitemcheckbox role none

lei.yang1123
Reported 2020-12-02 10:54:02 PST
Created attachment 415234 [details] VoiceOver on menuitemcheckbox role A link to replicate the issue: https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-2/menubar-2.html. Notice two issues exists. The Bold / Italic menu items under Style/Color column has menuitemcheckbox role, the Voice Over in MacOS will incorrectly read it as '1 Bold checked menuitem' when the menu item is selected. Another issue I notice is when select / deselect menu item with menuitemcheckbox role, its 'aria-checked' property will change based on the selection, but voice over ignores this 'aria-checked' status change.
Attachments
VoiceOver on menuitemcheckbox role (397.91 KB, image/png)
2020-12-02 10:54 PST, lei.yang1123
no flags
Radar WebKit Bug Importer
Comment 1 2020-12-02 10:54:13 PST
Sarah Higley
Comment 2 2025-06-18 12:00:08 PDT
I've run into this issue as well. I find it a little hard to repro on the APG site since the menus collapse when the checked state changes, so here's a simpler repro: https://jsfiddle.net/o3uawj85/2/ The checked state change is read when it changes from unchecked to checked, but not when it changes from checked to unchecked. The other issue is that an unchecked menuitemcheckbox is read as if it were a menuitem -- no indication that it is checkable, or that it is currently unchecked. I also still hear the "1" mentioned in the initial report.
Note You need to log in before you can comment on or make changes to this bug.