aria-owns attribute | ariaOwns property
Sets or retrieves a list of child objects, including elements that are not direct descendants of the current object.
![]() |
Syntax
| HTML |
|---|
<element aria-owns="p" ... > |
| JavaScript |
|---|
object.setAttribute("aria-owns",value);var value = object.getAttribute("aria-owns");
|
Property values
Type: String
A space-separated list of id property values.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
| Used in Roles |
|
|---|
This property defines element relationships and associations that cannot be readily determined from the document structure.
Note For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example
object.setAttribute("aria-valuenow", newValue). See also
- Accessible Rich Internet Applications (ARIA)
- Reference
- aria-controls
- aria-describedby
- aria-flowto
- aria-labelledby
- aria-posinset
- aria-setsize
Show:
