<?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>221102</bug_id>
          
          <creation_ts>2021-01-28 14:04:58 -0800</creation_ts>
          <short_desc>AX: [iOS] [VoiceOver] [Safari] Element with role=&quot;spinbutton&quot; announces with value as a percent, even when no aria-valuemin or aria-valuemax is defined</short_desc>
          <delta_ts>2026-03-18 03:08:29 -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>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://codepen.io/majornista/pen/MWbgMqg</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="Michael Jordan">mijordan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jeroen.zwartepoorte</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1723492</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Jordan">mijordan</who>
    <bug_when>2021-01-28 14:04:58 -0800</bug_when>
    <thetext>Using Safari with VoiceOver on iOS, an input element with role=&quot;spinbutton&quot; announces the value of the input followed by its value as a percent. If no aria-valuemin or aria-valuemax is defined, the value percent is announced as &quot;50%&quot;, which I assume is the percent between -Infinity and Infinity or Number.MIN_VALUE and Number.MAX_VALUE. There seem to be very few use cases where the percent between min and max would ever be useful to a VoiceOver user, such information is not communicated to a sighted user in any visual way. The expected behavior should be that for VoiceOver to announce the value of a spinbutton as simply the aria-valuenow, or if present, the aria-valuetext.

URL providing example: https://codepen.io/majornista/pen/MWbgMqg

Sample code that announces with VoiceOver for iOS as &quot;Spinbutton 14 20.4%&quot;:
&lt;label&gt;
    Spinbutton&lt;br/&gt;
    &lt;input type=&quot;text&quot; inputMode=&quot;decimal&quot; role=&quot;spinbutton&quot; placeholder=&quot;Enter a number&quot; value=&quot;14&quot; aria-valuenow=&quot;14&quot; aria-valuetext=&quot;14&quot; aria-valuemin=&quot;3&quot; aria-valuemax=&quot;57&quot;  /&gt;
&lt;/label&gt;

The percentage announcement, &quot;20.4%&quot;, is not helpful in this use case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1723493</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-28 14:05:26 -0800</bug_when>
    <thetext>&lt;rdar://problem/73723612&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191311</commentid>
    <comment_count>2</comment_count>
    <who name="Jeroen Zwartepoorte">jeroen.zwartepoorte</who>
    <bug_when>2026-03-18 03:08:29 -0700</bug_when>
    <thetext>I can confirm this happens on macOS as well. The `&lt;input inputmode=&quot;numeric&quot; aria-valuenow=&quot;1234&quot; role=&quot;spinbutton&quot;&gt;` markup is announced by VoiceOver on Safari on macOS as &quot;50%&quot;. I don&apos;t consider this a minor bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>