Bug 151496 - AX: aria-owns attribute does not work as expected
Summary: AX: aria-owns attribute does not work as expected
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 9
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-11-20 09:26 PST by Jonathan Dallas
Modified: 2015-11-20 09:32 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:27 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:26:01 PST
The expectation for aria-owns is that a developer can use it to group controls that are not otherwise grouped in DOM.

Spec for of aria-owns: http://www.w3.org/TR/wai-aria-1.1/#aria-owns

Here is a test case:
    <div role="radiogroup" aria-owns="r1 r2 r3">
       <div role="radio" id="r1">Alpha</div>
       <div role="radio" id="r1">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.
Comment 1 Radar WebKit Bug Importer 2015-11-20 09:26:23 PST
<rdar://problem/23629963>
Comment 2 Jonathan Dallas 2015-11-20 09:27:37 PST
Created attachment 265958 [details]
Demo of the test case in the problem description

Attaching a demo of the test case in the problem description.
Comment 3 Jonathan Dallas 2015-11-20 09:32:01 PST
Typo in the bug description. :/ Will refile.