Images With Empty Alternate Text and Non-Empty Title or ARIA Label
WCAG Focus: WCAG 1.1.1 (A), 4.1.2 (A)
Setting alt="" tells assistive technology an image is decorative and should be ignored. Yet some WordPress gallery plugins and SEO tools leave alt="" empty while simultaneously populating a title="Team photo" or aria-label attribute on the same <img> tag—sending contradictory signals to screen readers.
Why This Pattern Violates WCAG
WCAG 1.1.1 (Level A) and 4.1.2 (Level A) require consistent programmatic semantics.
An image with alt="" is treated as decorative by the accessibility tree, so adding a title or aria-label either gets ignored silently or causes inconsistent announcements across browsers.
Code Comparison
Conflicting Decorative & Named Attributes
<img src="office.jpg" alt="" title="Our Austin headquarters">
Consistent Informative Markup
<img src="office.jpg" alt="Our Austin headquarters">
How to Fix It in WordPress
- If the image conveys information, move the description into alt and remove the redundant title.
- If the image is truly decorative, remove title and aria-label so alt="" cleanly hides it.
Finding This Issue Automatically
SEO and gallery plugins frequently auto-populate image title attributes even when an editor intentionally left alt blank. The WP ADA Compliance Check plugin detects this exact attribute conflict across your WordPress content so decorative and informative images behave predictably.
WCAG References & Supporting Materials
WCAG Success Criteria
- Understanding WCAG 1.1.1 Non-text Content (Level A)
- Understanding WCAG 4.1.2 Name, Role, Value (Level A)
Supporting Documentation & Guides
- W3C Technique H37: Using alt attributes on img elements — Properly conveying text alternatives for informative <img> elements.
- W3C Technique H67: Using null alt text (alt="") for decorative images — Hiding decorative, spacer, and icon images cleanly from assistive technology.
- W3C WAI Tutorial: Images — Alt text rules for informative, decorative, functional, and image-map images.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

