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.
WCAG References & Supporting Materials
WCAG Success Criteria
- Understanding WCAG 2.5.3 Label in Name (Level A)
- Understanding WCAG 4.1.2 Name, Role, Value (Level A)
Supporting Documentation & Guides
- W3C Failure F96: Accessible name does not contain the visible label text — Explains WCAG 2.5.3 Label in Name failures when aria-label mismatches visible text.
- W3C Technique G208: Including the visible label inside the accessible name — Keeping aria-label aligned with visible link/button text for speech-input users.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

