<?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>236881</bug_id>
          
          <creation_ts>2022-02-19 04:20:51 -0800</creation_ts>
          <short_desc>AX: aria-expanded is blocking VO click events on comboboxes</short_desc>
          <delta_ts>2025-07-09 08:05:23 -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 15</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 12</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>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aron Janecki">aron_j</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>aronjanecki</cc>
    
    <cc>peter.hudak</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1843827</commentid>
    <comment_count>0</comment_count>
    <who name="Aron Janecki">aron_j</who>
    <bug_when>2022-02-19 04:20:51 -0800</bug_when>
    <thetext>Hello

I&apos;ve noticed a bug specific to Safari. When using VoiceOver, I&apos;m able to send a click event (VO+Space) to an element with the role=&quot;combobox&quot; attribute only when it does not have the aria-expanded attribute. Once the attribute is set, regardless of its value, the click action does not work. I&apos;m able to send the click event for comboboxes with aria-expanded in Chrome and Firefox.

See the live example of a select only combobox in the ARIA authoring practices- https://www.w3.org/TR/wai-aria-practices-1.2/examples/combobox/combobox-select-only.html
If you remove the aria-expanded=&quot;false&quot; from the element in the web inspector and try sending the click- it will work- the listbox popup will expand.

Some other notes:
- it seems that Safari is treating an element with role=&quot;combobox&quot; and aria-expanded=&quot;false&quot; as if it was expanded as it begins the announcement with the word &quot;confirm&quot;,
- aria-expanded is a required state as per the ARIA spec (https://www.w3.org/TR/wai-aria-1.1/#combobox) meaning that it must be present at all times
- the issue will be highly problematic once ARIA 1.2 turns into a recommendation (currently in candidate recommendation meaning it is close to become the spec) as 1.2 officially acknowledges comboboxes as select-only and text field comboboxes whereas previous versions were treating this element as if it always had to have a text box.

Alos, see the attached aria-ExpandedComboboxIssue.html file that shows the issue but displaying the system alert dialog on click.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1843828</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-19 04:21:01 -0800</bug_when>
    <thetext>&lt;rdar://problem/89185255&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1843830</commentid>
    <comment_count>2</comment_count>
      <attachid>452636</attachid>
    <who name="Aron Janecki">aron_j</who>
    <bug_when>2022-02-19 04:22:19 -0800</bug_when>
    <thetext>Created attachment 452636
Text case for the aria-expanded issue on elements with role=&quot;combobox&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1843832</commentid>
    <comment_count>3</comment_count>
    <who name="Aron Janecki">aron_j</who>
    <bug_when>2022-02-19 04:25:12 -0800</bug_when>
    <thetext>*** Bug 236880 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055936</commentid>
    <comment_count>4</comment_count>
    <who name="">peter.hudak</who>
    <bug_when>2024-08-28 07:21:19 -0700</bug_when>
    <thetext>Hi Safari Dev Team,

Could you please provide an update on when the bug with the Safari and VoiceOver combination affecting the combobox ARIA role might be fixed? This issue is impacting accessibility, and any timeline or information would be greatly appreciated.

Thank you!
Peter Hudak</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2128695</commentid>
    <comment_count>5</comment_count>
    <who name="Aron">aronjanecki</who>
    <bug_when>2025-07-09 08:05:23 -0700</bug_when>
    <thetext>This issue is fixed. It&apos;s not possible to send the click event when aria-expanded is set to false but this is understandable, all fine when aria-expanded is set to true.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>452636</attachid>
            <date>2022-02-19 04:22:19 -0800</date>
            <delta_ts>2022-02-19 04:22:19 -0800</delta_ts>
            <desc>Text case for the aria-expanded issue on elements with role=&quot;combobox&quot;</desc>
            <filename>ariaExpandedComboboxIssue.html</filename>
            <type>text/html</type>
            <size>2771</size>
            <attacher name="Aron Janecki">aron_j</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CiAgICA8bWV0YSBjaGFyc2V0
PSJVVEYtOCI+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJYLVVBLUNvbXBhdGlibGUiIGNvbnRlbnQ9
IklFPWVkZ2UiPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmlj
ZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPgogICAgPHRpdGxlPkNvbWJvYm94IGFuZCBhcmlh
LWV4cGFuZGVkIGlzc3VlPC90aXRsZT4KICAgIDxzdHlsZT4KICAgICAgICBrYmQgewogICAgICAg
ICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZWVlOwogICAgICAgICAgICBib3JkZXItcmFkaXVzOiAz
cHg7CiAgICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNiNGI0YjQ7CiAgICAgICAgICAgIGJv
eC1zaGFkb3c6IDAgMXB4IDFweCByZ2JhKDAsIDAsIDAsIC4yKSwgMCAycHggMCAwIHJnYmEoMjU1
LCAyNTUsIDI1NSwgLjcp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bGljay5iaW5kKHRoaXMpKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBoYW5k
bGVDbGljaygpIHsKICAgICAgICAgICAgICAgIGFsZXJ0KHRoaXMubm9kZS50ZXh0Q29udGVudCk7
CgogICAgICAgICAgICAgICAgaWYgKHRoaXMubm9kZS5nZXRBdHRyaWJ1dGUoJ2FyaWEtZXhwYW5k
ZWQnKSA9PT0gJ3RydWUnKSB7CiAgICAgICAgICAgICAgICAgICAgdGhpcy5ub2RlLnNldEF0dHJp
YnV0ZSgnYXJpYS1leHBhbmRlZCcsICdmYWxzZScpOwogICAgICAgICAgICAgICAgfSBlbHNlIHsK
ICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGUuc2V0QXR0cmlidXRlKCdhcmlhLWV4cGFuZGVk
JywgJ3RydWUnKTsKICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICB0aGlzLm5vZGUu
Zm9jdXMoKTsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICBjb25zdCBpbnRpYWxpc2Ug
PSBmdW5jdGlvbigpIHsKICAgICAgICAgICAgYnV0dG9ucy5mb3JFYWNoKGVsID0+IHsKICAgICAg
ICAgICAgICAgIG5ldyBBcmlhRXhwYW5kZWRJc3N1ZShlbCk7CiAgICAgICAgICAgIH0pCiAgICAg
ICAgfQoKICAgICAgICB3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIGludGlhbGlzZSk7
CiAgICA8L3NjcmlwdD4KICAgIAo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>