<?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>231324</bug_id>
          
          <creation_ts>2021-10-06 12:59:23 -0700</creation_ts>
          <short_desc>AX: support aria-posinset, aria-setsize for radio buttons</short_desc>
          <delta_ts>2021-10-06 13:44:03 -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>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="Aaron Leventhal">aleventhal</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>1801275</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Leventhal">aleventhal</who>
    <bug_when>2021-10-06 12:59:23 -0700</bug_when>
    <thetext>Example with &lt;input type=&quot;radio&quot;&gt;:
data:text/html,&lt;div role=&quot;radigroup&quot;&gt;&lt;label&gt;&lt;input type=&quot;radio&quot; name=&quot;z&quot; aria-posinset=&quot;50&quot; aria-setsize=&quot;60&quot;&gt;Cats&lt;/label&gt;&lt;label&gt;&lt;input type=&quot;radio&quot;name=&quot;z&quot;  aria-posinset=&quot;51&quot; aria-setsize=&quot;60&quot;&gt;Dogs&lt;/label&gt;&lt;/div&gt;

Example using ARIA role=radio:
data:text/html,&lt;div role=&quot;radiogroup&quot;&gt;&lt;div tabindex=&quot;0&quot; role=&quot;radio&quot; aria-posinset=&quot;20&quot; aria-setsize=&quot;30&quot;&gt;Fish&lt;/div&gt;&lt;div tabindex=&quot;0&quot; role=&quot;radio&quot; aria-posinset=&quot;21&quot; aria-setsize=&quot;30&quot;&gt;Bird&lt;/div&gt;&lt;/div&gt;

Steps:
1. Run one of the above examples with VoiceOver and Safari
2. Tab through the items
Notice that that items are read as &quot;1 of 2&quot; and &quot;2 of 2&quot;, not respecting the ARIA positional markup.

See also bug 98202 for list items.
http://www.w3.org/TR/wai-aria/states_and_properties#aria-posinset
http://www.w3.org/TR/wai-aria/states_and_properties#aria-setsize</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801276</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-06 12:59:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/83947714&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801320</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Leventhal">aleventhal</who>
    <bug_when>2021-10-06 13:44:03 -0700</bug_when>
    <thetext>Also, when AXARIAPosInSet/AXARIASetSize are used on a radio, it would be great if a radiogroup object is not required as a parent, because it is possible to use radio buttons without a radiogroup ancestor.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>