Bug 230180
Summary: | AX: Voice Control won't allow interaction with anchors that have role="menuitem" attribute | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jen Downs <hello> |
Component: | Accessibility | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/82995112>