HTML aria-owns ARIA Attribute
The aria-owns attribute makes other elements children of the current element in the accessibility tree, when the DOM structure can't show the relationship.
Description
The aria-owns attribute tells assistive technology that the referenced elements are children of the current element, even though they are elsewhere in the DOM. In the accessibility tree they are moved, so they are read as if they were nested inside it. A typical case is a menu or popup that is attached to the end of the <body> for positioning reasons.
Each element can only be owned by one parent, and owned elements are placed after the real DOM children. It does not change the visual order or the keyboard Tab order, which can confuse users if the two are very different.
Use it as a last resort. Rearranging the DOM so that related elements are actually nested is more reliable, and many popups, such as those using the popover attribute or <dialog>, can stay in place in the markup and still appear on top.
Properties
- Type
- Relationship
- Value
- ID reference list
- Default
- None
- Used with
- All elements (global attribute)
Syntax
<element aria-owns="id1 id2">
Values
- ID reference listOne or more
idvalues of elements that belong to this one.
Example
Browser Support
The following information will show you the current browser support for the aria-owns ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





