HTML aria-controls ARIA Attribute
The aria-controls attribute identifies the element or elements whose content or presence is controlled by the current element, such as the panel opened by a tab.
Description
The aria-controls attribute names the element or elements that are controlled by the current element. A tab controls its tab panel, a button controls the region it shows or hides, and a combobox controls its list of suggestions. The value is a space-separated list of id values.
The attribute describes a relationship only. It doesn't add behavior, and screen reader support for it is limited: some let users jump to the controlled element, many say nothing at all. It is still required on a combobox that has a popup, and recommended on tabs and disclosure buttons, but the relationship should also be clear from the layout, so don't rely on it alone.
The controlled element must exist in the page while the reference is in place. If it is created only when opened, add the attribute at that time.
Properties
- Type
- Relationship
- Value
- ID reference list
- Default
- None
- Used with
- All elements (global attribute)
Syntax
<element aria-controls="id1 id2">
Values
- ID reference listOne or more
idvalues, separated by spaces.
Example
Browser Support
The following information will show you the current browser support for the aria-controls ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





