<?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>196354</bug_id>
          
          <creation_ts>2019-03-28 08:00:36 -0700</creation_ts>
          <short_desc>AX: Role=switch is communicated as a &quot;checkbox&quot;</short_desc>
          <delta_ts>2024-01-28 23:02:53 -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>Safari 12</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>268120</dup_id>
          
          <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="Scott">scottaohara</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroselli</cc>
    
    <cc>darin.senneff</cc>
    
    <cc>mfairchild365</cc>
    
    <cc>ntim</cc>
    
    <cc>robin</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.org</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1522068</commentid>
    <comment_count>0</comment_count>
    <who name="Scott">scottaohara</who>
    <bug_when>2019-03-28 08:00:36 -0700</bug_when>
    <thetext>As a follow up to bug 194006, I&apos;m very happy to see that role=switch is now communicating state.  

However, this issue is to draw attention to the fact that role=&quot;switch&quot; should be announced as a &quot;switch&quot; with an &quot;on&quot; or &quot;off&quot; state, rather than the present role announcement of &quot;checkbox&quot; and state of &quot;checked&quot; or &quot;unchecked&quot;.

Making this change would match the implementation / announcements of macOS Safari + VO.

The following link provides additional testing information and Switch demos.

https://scottaohara.github.io/a11y_styled_form_controls/src/checkbox--switch/

Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1522069</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-28 08:01:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/49379241&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967220</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Senneff">darin.senneff</who>
    <bug_when>2023-07-18 11:54:11 -0700</bug_when>
    <thetext>Bumping this to say that this is still present 4 years later with iOS 16.5.1 VoiceOver + Safari. 

When encountering a role=&quot;switch&quot; element, VoiceOver still calls the element a &quot;checkbox&quot; with a &quot;checked&quot; or &quot;unchecked&quot; state. 

Changing this to announce the element as a &quot;switch&quot; with an &quot;on&quot; or &quot;off&quot; state would bring iOS Safari in line with MacOS Safari, JAWS, NVDA, Narrator, and TalkBack; which all announce the element as such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2007992</commentid>
    <comment_count>3</comment_count>
    <who name="Curtis Wilcox">webkit.org</who>
    <bug_when>2024-01-26 11:19:05 -0800</bug_when>
    <thetext>I can still reproduce this problem with VoiceOver on iOS 17.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008384</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-28 23:02:53 -0800</bug_when>
    <thetext>Please check iOS 17.4 beta

*** This bug has been marked as a duplicate of bug 268120 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>