Bug 231324

Summary: AX: support aria-posinset, aria-setsize for radio buttons
Product: WebKit Reporter: Aaron Leventhal <aleventhal>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Aaron Leventhal
Reported 2021-10-06 12:59:23 PDT
Example with <input type="radio">: data:text/html,<div role="radigroup"><label><input type="radio" name="z" aria-posinset="50" aria-setsize="60">Cats</label><label><input type="radio"name="z" aria-posinset="51" aria-setsize="60">Dogs</label></div> Example using ARIA role=radio: data:text/html,<div role="radiogroup"><div tabindex="0" role="radio" aria-posinset="20" aria-setsize="30">Fish</div><div tabindex="0" role="radio" aria-posinset="21" aria-setsize="30">Bird</div></div> Steps: 1. Run one of the above examples with VoiceOver and Safari 2. Tab through the items Notice that that items are read as "1 of 2" and "2 of 2", 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
Attachments
Radar WebKit Bug Importer
Comment 1 2021-10-06 12:59:36 PDT
Aaron Leventhal
Comment 2 2021-10-06 13:44:03 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.