Bug 232092

Summary: AX: An object's children should include both aria-owns elements and DOM children
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Tyler Wilcock 2021-10-21 09:43:23 PDT
The definition of aria-owns (https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/#aria-owns) includes this statement:

> If an element has both aria-owns and DOM children then the order of the child elements with respect to the parent/child relationship is the DOM children first, then the elements referenced in aria-owns.
However, we have two methods that don't conform to this, instead choosing aria-owns _or_ DOM children, but not both. We should review and potentially change this behavior.

The methods are:

AccessibilityObject::ariaTreeRows
AccessibilityTableRow::addChildren
Comment 1 Radar WebKit Bug Importer 2021-10-21 09:43:49 PDT
<rdar://problem/84511135>