Images With Redundant Alt and Title Attributes

Images With Redundant Alt and Title Attributes

WCAG Focus: WCAG 1.1.1 (A) · Usability

Classic WordPress media workflows and certain image optimization plugins copy the alt text verbatim into the title attribute. When a screen reader encounters <img alt="Golden Gate Bridge" title="Golden Gate Bridge">, it may announce the description twice in a row.

Why This Pattern Violates WCAG

While WCAG 1.1.1 requires an alt attribute, duplicating it in title adds audio verbosity for screen reader users without offering any benefit to keyboard or touch users.

Code Comparison

Redundant Alt and Title

<img src="bridge.jpg" alt="Golden Gate Bridge at sunrise" title="Golden Gate Bridge at sunrise">

Clean Single Alt Attribute

<img src="bridge.jpg" alt="Golden Gate Bridge at sunrise">

How to Fix It in WordPress

  • Remove the title attribute from <img> elements when it duplicates alt text.
  • If an image needs a visible caption for all readers, use <figure> and <figcaption> instead.

Finding This Issue Automatically

Old WordPress uploads often carry legacy title attributes that mirror alt text word for word. The WP ADA Compliance Check plugin pinpoints redundant alt/title pairs and will automatically fix the issue by removing redundant title attributes (and redundant aria-labels) from images.

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