Invalid ARIA Labels on Links
WCAG Focus: WCAG 2.5.3 (A), 4.1.2 (A)
Developers often add aria-label to links to "improve accessibility," only to accidentally contradict the visible text, duplicate it unnecessarily, or leave the attribute blank (aria-label=""). When a link visibly says "Pricing" but its aria-label says "See plans", voice-control users who say "Click Pricing" fail to activate the link.
Why This Pattern Violates WCAG
WCAG 2.5.3 Label in Name (Level A) requires that for any control with visible text, the accessible name (computed from aria-label) must contain the exact visible text string.
WCAG 4.1.2 Name, Role, Value (Level A) fails when malformed, empty, or mismatched ARIA attributes corrupt the accessible name.
Code Comparison
Inaccessible Mismatched ARIA Label
<a href="/pricing/" aria-label="View subscription plans">Pricing</a>
Compliant ARIA Label Containing Visible Text
<a href="/pricing/" aria-label="Pricing — View subscription plans">Pricing</a>
How to Fix It in WordPress
- Check that every aria-label either starts with or contains the exact visible text of the link.
- Remove empty or redundant aria-label attributes when clear visible text already works.
Finding This Issue Automatically
Well-meaning plugins and theme overrides regularly inject mismatched, redundant, or blank aria-label attributes onto links. The WP ADA Compliance Check plugin flags invalid aria-labels on links and automatically fixes redundant aria-label attributes on links.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

