Question · HTML and CSS course · Module 10: Accessibility (a11y)
The aria-hidden Attribute
When should you use the aria-hidden="true" attribute?
Answer options
- When you want to visually hide an element from all users
- When an element is purely decorative and carries no content for screen reader users
- When an element contains important textual information
- When you want to improve page performance
You can check the correct answer by solving this task in the CodeWorlds game.