ariaControls property
Sets or retrieves the list of elements that are controlled by the current element.
Syntax
object.setAttribute("ariaControls",value);var value = object.getAttribute("ariaControls");
Property values
Type: BSTR
A space-separated list of IHTMLElement::id property values.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
Used in Roles | No role required. |
This property defines element relationships and associations that cannot be readily determined from the document structure.
The IHTMLElement5::ariaControls property is used primarily by elements where the IHTMLElement5::role property value is group
, region
, or widget
. Compare this usage with that of the IHTMLElement5::ariaOwns property.
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