Decorative Images

Images that do not add meaningful information to a webpage and are used purely for visual appeal or spacing. For accessibility, decorative images should be hidden from assistive technologies to avoid distraction or confusion for screen reader users. This is usually done by giving them empty alt text (alt=””) or marking them with appropriate ARIA roles. By distinguishing decorative images from informative ones, developers ensure that users with disabilities can focus only on essential content.

Example (Decorative vs Informative):

  • Decorative: A swirl pattern in the corner of a webpage or a stock image of people shaking hands on a “Contact Us” page. If a screen reader announced “Image: handshake” every time, it would be annoying and meaningless.
  • Informative: A product photo on an e-commerce site that shows what you’re buying. That image needs proper alt text so users understand the content.

Accessible Outcome: Decorative images are ignored by assistive tech, while meaningful images are properly described.