Images With Duplicate Alt Text

Images With Duplicate Alt Text

WCAG Focus: WCAG 1.1.1 (A)

Product grids, team directories, and photo galleries sometimes end up with the same generic alt text repeated across multiple different images—such as five distinct product photos all labeled alt="Company Product" or every staff portrait labeled alt="Team Member".

Why This Pattern Violates WCAG

WCAG 1.1.1 Non-text Content (Level A) requires text alternatives to convey the specific purpose or content of each image.

Identical alt text on distinct visuals hides the differences between items and leaves screen reader users unable to distinguish one card from the next.

Code Comparison

Inaccessible Repeated Alt Text

<img src="shirt-red.jpg" alt="T-Shirt">
<img src="shirt-blue.jpg" alt="T-Shirt">

Compliant Unique Alt Text Per Image

<img src="shirt-red.jpg" alt="Red cotton crewneck t-shirt">
<img src="shirt-blue.jpg" alt="Navy cotton crewneck t-shirt">

How to Fix It in WordPress

  • Describe the unique visual subject or context of each image on the page.
  • In linked cards where the adjacent heading already names the item, set the thumbnail image to alt="" if it adds no new information.

Finding This Issue Automatically

When uploading bulk gallery items in WordPress, it is easy to paste one caption across multiple images. The WP ADA Compliance Check plugin flags duplicate alt text appearing on the same page and includes automated cleanup to remove redundant alt text where appropriate.

Subscribe

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

Cart Accessibility Tools
hide