39. What does aria-hidden do?

aria-hidden="true" removes an element and its descendants from the accessibility tree. It should not normally be applied to content that is still required for users of assistive technology.

Key Takeaways
  • ARIA visibility and CSS visibility are different concepts.
  • Do not hide essential interactive content from assistive technologies.
Knowledge Check

What does aria-hidden="true" generally do?