aria-hidden
aria-hidden is a code attribute that can be added to an HTML element to tell assistive technologies, such as screen readers, to ignore that element and not announce its content to the user. It is commonly used to hide decorative or duplicate content that would otherwise create a confusing experience. It should be used carefully, because hiding important or interactive content can prevent some users from accessing it.
aria-hidden is a WAI-ARIA state that, when set to "true", removes an element and its descendants from the accessibility tree, hiding it from the accessibility API used by assistive technologies while leaving it visually rendered. Per authoritative guidance, it should generally be applied only to non-interactive content; elements with aria-hidden="true" should not contain elements that are part of the sequential focus navigation and are focusable, as this can strand keyboard and assistive technology users on content that is announced-hidden but still reachable. Because aria-hidden affects only exposure to the accessibility API and not visual presentation or keyboard focusability, practitioners should verify its use through manual and assistive technology testing rather than relying on visual appearance alone.
Why it matters
aria-hidden directly controls what assistive technology users can and cannot perceive, which makes it one of the more consequential ARIA attributes to apply correctly. When used well, it removes clutter such as decorative icons or duplicated content that would otherwise create a confusing or repetitive experience for screen reader users. When used carelessly, it can hide important or interactive content from people who rely on assistive technologies, effectively removing functionality that remains visible to sighted users.
A particularly problematic pattern occurs when aria-hidden="true" is applied to an element that still contains focusable, keyboard-reachable content. Because the attribute affects only exposure to the accessibility API and not visual rendering or keyboard focusability, a keyboard or screen reader user can tab to a control that has been declared hidden from the accessibility tree. This creates a disorienting situation in which focus lands on content that is not announced, leaving the user with no clear indication of where they are or what the control does. Automated tools such as those referenced in the evidence digest flag this specific conflict, but automated detection identifies only a portion of potential issues.
Because the effects of aria-hidden are invisible in ordinary visual inspection, correct use should be confirmed through manual review and testing with actual assistive technologies rather than by appearance alone. This guidance is technical in nature and is not legal advice; how any given implementation relates to WCAG conformance or legal obligations depends on context and should be evaluated accordingly.
Who it's relevant to
Inside aria-hidden
Common questions
Answers to the questions practitioners most commonly ask about aria-hidden.