Bug 151498 - AX: aria-owns attribute does not work as expected for role radio
Summary: AX: aria-owns attribute does not work as expected for role radio
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 9
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 151429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-20 09:36 PST by Jonathan Dallas
Modified: 2015-11-20 09:54 PST (History)
1 user (show)

See Also:


Attachments
Demo of the test case in the problem description (337 bytes, text/html)
2015-11-20 09:36 PST, Jonathan Dallas
no flags Details
Screenshot of demo test case. (second item selected) (386.91 KB, image/png)
2015-11-20 09:53 PST, Jonathan Dallas
no flags Details
Screenshot of demo test case. (third item selected) (386.13 KB, image/png)
2015-11-20 09:54 PST, Jonathan Dallas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Dallas 2015-11-20 09:36:37 PST
Created attachment 265962 [details]
Demo of the test case in the problem description

When using the aria-owns attribute radio controls are not grouped as expected.

Here is a test case:
    <div role="radiogroup" aria-owns="r1 r2 r3">
       <div role="radio" id="r1">Alpha</div>
       <div role="radio" id="r2">Beta</div>
    </div>
    <!-- this one, too. -->
    <div role="radio" id="r3">Gamma</div>

In this case the 3rd radio button "Gamma" should be included in the radio group. However, when VoiceOver looks at this it only sees two radio buttons in the group, the 3rd is announced as a radio button without a group.

Spec for aria-owns: http://www.w3.org/TR/wai-aria-1.1/#aria-owns
Comment 1 Radar WebKit Bug Importer 2015-11-20 09:37:15 PST
<rdar://problem/23630121>
Comment 2 Jonathan Dallas 2015-11-20 09:41:56 PST
*** Bug 151429 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Dallas 2015-11-20 09:53:43 PST
Created attachment 265964 [details]
Screenshot of demo test case. (second item selected)
Comment 4 Jonathan Dallas 2015-11-20 09:54:16 PST
Created attachment 265965 [details]
Screenshot of demo test case. (third item selected)