Title Attributes That Duplicate the Link Text

Title Attributes That Duplicate the Link Text

WCAG Focus: WCAG 2.4.4 (A) · Technique H33

Older WordPress menus and plugins often populate a link’s title attribute with the exact same words as the visible link text (e.g., <a href="/contact/" title="Contact Us">Contact Us</a>). Rather than helping users, redundant title attributes add clutter for mouse hover tooltips and cause screen readers configured to read title attributes to speak the same phrase twice.

Why This Pattern Violates WCAG

WCAG Technique H33 warns that title attributes should supplement link text only when additional context is truly needed—and never repeat the visible text verbatim.

Touchscreen and keyboard-only users cannot access hover-only title tooltips anyway, so critical information must never live exclusively inside a title attribute.

Code Comparison

Inaccessible Redundant Title Attribute

<a href="/contact/" title="Contact Us">Contact Us</a>

Compliant Clean Link Without Redundant Title

<a href="/contact/">Contact Us</a>

How to Fix It in WordPress

  • Strip redundant title attributes from WordPress navigation menus and post links.
  • Put essential clarification directly into the visible link text instead of relying on hover tooltips.

Finding This Issue Automatically

WordPress navigation walkers and older link widgets sometimes emit matching title attributes automatically across every menu item. The WP ADA Compliance Check plugin detects duplicate link text and title pairs and will automatically fix the issue by removing redundant title attributes from links (and even converting non-redundant link titles into aria-label attributes).

WCAG References & Supporting Materials

WCAG Success Criteria

Supporting Documentation & Guides

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide