Image Links That Do Not Meet the Minimum Target Size of 24 Pixels
WCAG Focus: WCAG 2.5.8 (AA)
Tiny 16×16 social media icons, compact pagination arrows, and miniature badge links are common in WordPress footers and sidebars. Users with hand tremors, limited fine motor control, or mobile touchscreens struggle to tap small targets without accidentally activating adjacent links.
Why This Pattern Violates WCAG
WCAG 2.5.8 Target Size (Minimum, Level AA in WCAG 2.2) requires pointer targets to be at least 24 by 24 CSS pixels—or have sufficient spacing so a 24px-diameter circle centered on the target does not intersect another target.
Small image links wrapped tightly in an <a> tag with zero padding routinely fail this check when placed side by side in icon rows.
Code Comparison
Inaccessible 16px Linked Icon Without Padding
<a href="https://example.com/rss">
<img src="/icons/rss-16.png" width="16" height="16" alt="RSS Feed">
</a>
Compliant 24px+ Clickable Target Area
<a href="https://example.com/rss" style="display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;padding:6px;">
<img src="/icons/rss-16.png" width="16" height="16" alt="RSS Feed">
</a>
How to Fix It in WordPress
- Increase the clickable <a> or <button> box via min-width: 24px; min-height: 24px; (44px recommended for touch) using padding and inline-flex.
- Add gap spacing between adjacent icon links in social bars, toolbars, and pagination lists.
Finding This Issue Automatically
Spotting undersized social icons or compact thumbnail links across dozens of WordPress templates and widget areas is error-prone by eye alone. The WP ADA Compliance Check plugin measures image link dimensions against WCAG 2.2’s 24-pixel threshold automatically, pinpointing exact icons and links that need extra padding.
WCAG References & Supporting Materials
WCAG Success Criteria
Supporting Documentation & Guides
- W3C Technique C42: Ensuring sufficient target size and spacing — Meeting the 24×24 CSS pixel minimum target size under WCAG 2.5.8.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

