<?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>285047</bug_id>
          
          <creation_ts>2024-12-20 15:15:06 -0800</creation_ts>
          <short_desc>AX: combobox button value text clipped</short_desc>
          <delta_ts>2025-02-24 14:35:09 -0800</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>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="James Craig">jcraig</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>aroselli</cc>
    
    <cc>joewatkinspdx</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2083410</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2024-12-20 15:15:06 -0800</bug_when>
    <thetext>Filing on behalf of Marcy Sutton:

Has anyone run into this ARIA Combobox issue in Safari where VoiceOver cuts off the value text and adds a random comma at the beginning? It occurs when you put role=&quot;combobox&quot; on a button element but not on a DIV. The APG combobox pattern uses all DIVs, and it works properly. It&apos;s specifically a button element that causes this issue in Safari/VO.

I&apos;ve tried resetting relevant CSS properties to override the User Agent stylesheet in Safari and I haven&apos;t found a fix yet. I understand the rules of ARIA and not overriding semantics but it&apos;s still unfortunate to have to use a DIV for this when a button has baseline interactivity (and requires less code to implement). Buttons are allowed in the spec, but this is buggy! Here is my low-fi reproduction (note, it&apos;s not fully wired up for the keyboard...I&apos;m just using it to validate semantics for this issue) https://codepen.io/marcysutton/pen/ByBWXVP

Screenshots from VoiceOver and Safari show Example 2 with cut off text, and Example 1 that works:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083411</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-20 15:15:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/141846329&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083412</commentid>
    <comment_count>2</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2024-12-20 15:16:47 -0800</bug_when>
    <thetext>Adrian Roselli says, “Can reproduce using Safari 18.2 / macOS 15.2.”</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097542</commentid>
    <comment_count>3</comment_count>
    <who name="Joe Watkins">joewatkinspdx</who>
    <bug_when>2025-02-24 14:35:09 -0800</bug_when>
    <thetext>Yeps - can reproduce 18.1 / MacOS 14.7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>