aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
Relationship attributes indicate relationships or associations between elements which cannot be readily determined from the document structure.
Global states and properties are supported by all roles and by all base markup elements.
Description
Identifies the element (or elements) whose contents or presence are controlled by the current element. See related aria-owns.
For example:
- A table of contents tree view may control the content of a neighboring document pane.
- A group of checkboxes may control what commodity prices are tracked live in a table or graph.
- A tab controls the display of its associated tab panel.
Example
Characteristics
Semantic HTML
Reference