HTML aria-hidden ARIA Attribute
The aria-hidden attribute removes an element and all of its children from the accessibility tree, so screen readers ignore it even though it is still visible.
Description
The aria-hidden attribute hides an element from assistive technology. With aria-hidden="true", the element and everything inside it are removed from the accessibility tree, but it stays visible on screen and can still be clicked. It is used for decorative or duplicated content, such as an icon next to a text label or a decorative SVG.
Never put aria-hidden="true" on an element that can receive focus, or on a container with focusable children. Keyboard users could still Tab to it, but screen readers would announce nothing. To hide interactive content from everyone, use the hidden attribute or display: none, and to make a whole region non-interactive, use inert.
A child can't undo it: aria-hidden="false" inside a hidden parent does not make the child visible to screen readers again. Content hidden with display: none or visibility: hidden is already hidden from assistive technology and doesn't need the attribute.
Properties
- Type
- Global
- Value
- true/false
- Default
false- Used with
- All elements (global attribute)
Syntax
<element aria-hidden="true | false">
Values
- trueThe element and its descendants are hidden from the accessibility tree.
- falseThe default: the element is exposed normally.
Example
Browser Support
The following information will show you the current browser support for the aria-hidden ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





