aria-hidden

An ARIA attribute that removes an element and everything inside it from the accessibility tree, while leaving it visible and clickable.

In more detail

Decorative icons use aria-hidden="true" so screen readers do not read out meaningless SVG content. It does not stop keyboard focus, so it must never be put on focusable content; the inert attribute is the safer way to hide a background behind a modal.

Related terms

Taught in

References