<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>230180</bug_id>
          
          <creation_ts>2021-09-10 16:33:49 -0700</creation_ts>
          <short_desc>AX: Voice Control won&apos;t allow interaction with anchors that have role=&quot;menuitem&quot; attribute</short_desc>
          <delta_ts>2021-09-10 16:34:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>Safari 14</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jen Downs">hello</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1792598</commentid>
    <comment_count>0</comment_count>
    <who name="Jen Downs">hello</who>
    <bug_when>2021-09-10 16:33:49 -0700</bug_when>
    <thetext>Voice Control won&apos;t interact with anchors that have the role=&quot;menuitem&quot; attribute, including when saying commands to click on the link directly or saying the &quot;Show Numbers&quot; command.

Specifically with the &quot;Show Numbers&quot; command, anchors with role=&quot;menuitem&quot; won&apos;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 &quot;Show Numbers&quot; and note that the links in that menubar example do not receive numbers.
- Say &quot;Click Fonts&quot; and note that the &quot;Fonts&quot; 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:

```
&lt;a href=&quot;https://bugs.webkit.org/&quot; role=&quot;menuitem&quot;&gt;example link&lt;/a&gt;
```

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=&quot;menuitem&quot; attribute back, you will notice that Voice Control won&apos;t recognize the link again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792599</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-10 16:34:00 -0700</bug_when>
    <thetext>&lt;rdar://problem/82995112&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>