Favorites

HTML aria-controls ARIA Attribute

aria-controls
ARIA AttributeThis ARIA attribute is supported by all modern browsers.
Updated 28th November 2026

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.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

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 id values, separated by spaces.

Example

<button type="button" aria-expanded="false" aria-controls="filters"
onclick="var p=document.getElementById('filters');p.hidden=!p.hidden;this.setAttribute('aria-expanded',!p.hidden);">
Show filters
</button>
<div id="filters" hidden>
<label><input type="checkbox"> In stock</label>
</div>

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.

This ARIA attribute is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee