Images & Media4 min readUpdated 2026-11-15

Decorative vs. Informative Images: When to Use Empty alt=""

Learn why alt="" is a purposeful accessibility feature—not a mistake—for decorative visuals and redundant icons.

Key Takeaways

  • Never omit the alt attribute on <img>; use alt="" for decorative visuals.
  • Icons paired with visible text labels ('Download' + icon) should use alt="".

The Redundant Icon Rule

If a button says 'Settings' next to a gear icon, setting alt='gear' makes screen readers announce 'gear Settings button'. Setting alt='' keeps the announcement clean: 'Settings button'.

Frequently Asked Questions

No, CSS background images are automatically ignored by screen readers, so only use them for purely decorative flourishes.

Interactive Tools for This Guide

Image & SVG

Decorative Image Checker

Audit empty alt="" and aria-hidden usage on decorative vs. functional images.

Open tool
Image & SVG

Image Alt Text Checker

Detect missing alt attributes, filename placeholders, and redundant alt phrasing locally.

Open tool

Continue Reading