Images Without Alternate Text

Images Without Alternate Text

WCAG Focus: WCAG 1.1.1 (A)

When an <img> tag omits the alt attribute altogether, screen readers often fall back to reading the raw image filename—such as "IMG_4029_final_v2.jpg"—or skip over critical visual information without explanation.

Why This Pattern Violates WCAG

WCAG 1.1.1 Non-text Content (Level A) requires a text alternative that serves an equivalent purpose for all meaningful non-text content.

Decorative images must explicitly include an empty alt="" attribute so screen readers know to ignore them, rather than omitting alt completely.

Code Comparison

Inaccessible Image Missing Alt Attribute

<img src="/wp-content/uploads/chart-2026.png">

Compliant Informative & Decorative Images

<img src="/wp-content/uploads/chart-2026.png" alt="Bar chart showing 42% fewer keyboard errors after theme update">
<img src="/wp-content/uploads/divider-line.png" alt="">

How to Fix It in WordPress

  • Fill in concise, context-appropriate alt text inside the WordPress Media Library and Block Inspector.
  • Leave alt empty (alt="") only for purely decorative graphics, never omit the alt attribute.

Finding This Issue Automatically

Because software cannot guess what a photo portrays, missing alt attributes require human descriptions—though the WP ADA Compliance Check plugin scans every post, page, and theme template to pinpoint every <img> missing alt text (and even automatically fixes spacer image alt issues from plugins like Advanced WP Columns).

WCAG References & Supporting Materials

WCAG Success Criteria

Supporting Documentation & Guides

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide