Images & Media6 min readUpdated 2026-11-15

How to Write Effective Alt Text for Images (WCAG 1.1.1 Guide)

Context determines everything in alt text: learn when to describe, when to write action verbs for buttons/links, and when to use empty alt="".

Key Takeaways

  • Informative images describe the meaning in context, not a literal pixel inventory.
  • Functional images inside buttons/links describe the action or destination (e.g., 'Search', 'Download PDF').
  • Purely decorative images must use empty alt="" so screen readers skip them.

Context Over Literal Description

Avoid boilerplate phrases like 'Image of' or 'Picture showing'—screen readers announce the image role automatically. Keep descriptions concise and focused on why the image appears on that specific page.

Informative vs. Decorative Markup

Avoid
<img src="arrow.png" alt="Right blue arrow graphic">
<img src="banner.jpg">
Recommended Pattern
<button aria-label="Next slide"><img src="arrow.png" alt=""></button>
<img src="banner.jpg" alt="Engineers pairing at a desk reviewing accessibility checks">

Frequently Asked Questions

Write for human screen reader users first. Natural, accurate alt text naturally helps image search without spammy keyword stuffing.

Interactive Tools for This Guide

Image & SVG

Image Alt Text Checker

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

Open tool
Image & SVG

Decorative Image Checker

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

Open tool

Continue Reading