Fixing Alt Text Issues on Spacer Images in Advanced WP Columns
WCAG Focus: WCAG 1.1.1 (A)
Layout plugins such as Advanced WP Columns sometimes insert transparent or placeholder spacer images into WordPress columns to control alignment and padding. When those spacer <img> tags lack an alt attribute—or contain filename-based alt text like "spacer.png"—screen readers announce meaningless graphics or read out raw image URLs mid-sentence.
Why This Pattern Violates WCAG
WCAG 1.1.1 Non-text Content (Level A) requires purely decorative or layout spacer images to be implemented in a way that assistive technologies can ignore, using an empty alt="" attribute (and no title or aria-label) or CSS spacing instead of <img> tags.
Omitting the alt attribute on a spacer image forces screen readers to announce the file path, while filling alt with words like "spacer" adds clutter for blind visitors.
Code Comparison
Inaccessible Advanced WP Columns Spacer Image
<div class="awp-column">
<img src="/wp-content/plugins/advanced-wp-columns/assets/spacer.png">
<p>Column content starts here.</p>
</div>
Compliant Decorative Spacer Image (or CSS Spacing)
<div class="awp-column">
<img src="/wp-content/plugins/advanced-wp-columns/assets/spacer.png" alt="" role="presentation">
<p>Column content starts here.</p>
</div>
How to Fix It in WordPress
- Prefer native Gutenberg Columns and CSS margin/padding over spacer <img> elements for layout spacing.
- Where legacy Advanced WP Columns spacer images remain in post content, set alt="" (empty alt) and remove any title attributes so screen readers skip them.
- Audit old multi-column pages with an accessibility scanner to ensure no spacer images are missing alt attributes.
Finding This Issue Automatically
Legacy spacer images embedded by layout plugins like Advanced WP Columns can remain hidden across years of archived WordPress posts. The WP ADA Compliance Check plugin automatically detects spacer images from Advanced WP Columns and sets compliant empty alt attributes so assistive technologies ignore them cleanly.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

