0PricingLogin
Web Accessibility Academy · Lesson

Hiding Decorative Icons With aria-hidden

Keep ornament out of the accessibility tree.

Some Icons Say Nothing

A little flourish next to a label adds nothing for a screen reader user. Announcing it just adds noise they have to wade through. 🔇

The Word Decorative

An icon is decorative when removing it would not change what the user understands. The nearby text already carries the meaning.

All lessons in this course

  1. Inline SVG: role img and a title
  2. Hiding Decorative Icons With aria-hidden
  3. Icon Buttons That Still Have a Name
  4. Icon Fonts and Their Accessibility Pitfalls
← Back to Web Accessibility Academy