aria-owns
Characteristics
Type:
- String
Used in Roles:
- All elements of the base markup (Global)
- No role required
See Related:
- aria-controls
Value:
- ID reference list
- A space-separated list of ID property values.
Sets or retrieves a list of child objects, including elements that are not direct descendants of the current object.
The value of the aria-owns attribute is a space-separated list of IDREFS that reference one or more elements in the document by ID. This property defines element relationships and associations that cannot be readily determined from the document structure.
Authors should not use aria-owns as a replacement for the DOM hierarchy. If the relationship is represented in the DOM, do not use aria-owns. Authors must ensure that an element's ID is not specified in more than one other element's aria-owns attribute at any time. In other words, an element can have only one explicit owner.
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).
Syntax
HTML <element aria-owns="p" ... > JavaScript object.setAttribute("aria-owns",value);var value = object.getAttribute("aria-owns");
Microsoft Active Accessibility Properties:
- N/A (should be reflected in the accessible object tree)
UI Automation Properties:
- N/A (should be reflected in the automation element tree)
UI Automation AriaProperties Property:
- N/A