Bug 230180

Summary: AX: Voice Control won't allow interaction with anchors that have role="menuitem" attribute
Product: WebKit Reporter: Jen Downs <hello>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Intel)   
OS: macOS 11   

Jen Downs
Reported 2021-09-10 16:33:49 PDT
Voice Control won't interact with anchors that have the role="menuitem" attribute, including when saying commands to click on the link directly or saying the "Show Numbers" command. Specifically with the "Show Numbers" command, anchors with role="menuitem" won't receive a number. Steps to reproduce: - Go to the Editor Menubar Example on w3.org: https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-2/menubar-2.html - Turn on Voice Control in macOS Accessibility settings - Say "Show Numbers" and note that the links in that menubar example do not receive numbers. - Say "Click Fonts" and note that the "Fonts" link is not clicked. You can also reproduce this with a short code example, if you wanted to save an HTML snippet, open it in Safari, and then experiment with it in Developer Tools: ``` <a href="https://bugs.webkit.org/" role="menuitem">example link</a> ``` If you remove the role attribute in the snippet above, the anchor will be recognized by Voice Control as a link that can be clicked. And if you add the role="menuitem" attribute back, you will notice that Voice Control won't recognize the link again.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-09-10 16:34:00 PDT
Note You need to log in before you can comment on or make changes to this bug.