Fixing Empty Links and Adjacent Identical Links in Elementor Image Box Widgets
WCAG Focus: WCAG 2.4.4 (A), 1.1.1 (A), 4.1.2 (A)
Elementor’s Image Box widget pairs a thumbnail image, a heading, and a short description. When a URL is entered in the Image Box settings, Elementor often wraps the <img> in one <a> tag and the <h3> title in a separate <a> tag to the exact same URL—and if the image lacks alt text, the first link becomes an empty link with no accessible name.
Why This Pattern Violates WCAG
WCAG 2.4.4 Link Purpose (In Context, Level A) and WCAG 1.1.1 Non-text Content (Level A) fail when a linked image inside an Image Box has empty or missing alt text, causing screen readers to read the raw URL or announce an unnamed link.
Adjacent identical links (one on the image, one immediately below on the heading) create unnecessary Tab stops and violate WCAG Technique H2 (combining adjacent image and text links into one link).
Code Comparison
Inaccessible Elementor Image Box With Duplicate Links
<div class="elementor-image-box-wrapper">
<figure class="elementor-image-box-img">
<a href="/web-audits/"><img src="audit.jpg" alt=""></a>
</figure>
<div class="elementor-image-box-content">
<h3 class="elementor-image-box-title">
<a href="/web-audits/">Manual Accessibility Audits</a>
</h3>
</div>
</div>
Compliant Consolidated or Properly Labeled Image Box
<div class="elementor-image-box-wrapper">
<figure class="elementor-image-box-img">
<img src="audit.jpg" alt="" role="presentation">
</figure>
<div class="elementor-image-box-content">
<h3 class="elementor-image-box-title">
<a href="/web-audits/">Manual Accessibility Audits</a>
</h3>
</div>
</div>
How to Fix It in WordPress
- Use a single link for each Image Box card or ensure decorative thumbnail images are not placed inside separate empty <a> wrappers.
- Whenever an image is the sole content inside a link, supply descriptive alt text explaining the link destination rather than leaving alt="" empty.
- Run keyboard Tab testing across feature cards to verify each card requires only one Tab stop.
Finding This Issue Automatically
Because Elementor generates Image Box wrapper markup automatically inside its widget templates, fixing every card by hand requires custom template overrides. The WP ADA Compliance Check plugin detects and automatically corrects empty links and adjacent identical links output by Elementor Image Box widgets.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

