[Webkit-unassigned] [Bug 230180] New: AX: Voice Control won't allow interaction with anchors that have role="menuitem" attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 10 16:33:49 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230180

            Bug ID: 230180
           Summary: AX: Voice Control won't allow interaction with anchors
                    that have role="menuitem" attribute
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hello at jendowns.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210910/bfd56552/attachment-0001.htm>


More information about the webkit-unassigned mailing list