Skip to main content

Links & buttons

Same link text goes to different pages

WCAG 2.2 success criterion 2.4.4 Link Purpose (In Context) (Level A)

WCAG 2.2
2.4.4 Link Purpose (In Context)
Level
A
Default severity
Needs review
Available in
Free

Why it matters

In a screen reader's list of links, two entries with the same words that lead to different pages cannot be told apart.

Who it affects: Screen reader users who browse by a list of links, keyboard users, and people using voice control who say a link's words to click it.

What Lumtera flags

Two or more links in the same content with identical text but different destinations. Vague phrases like "read more" are reported by the ambiguous-link check instead, so nothing is reported twice.

Check ID link-same-text-different-url — use it to filter the content report or with wp lumtera issues --rule.

How to fix it in WordPress

Make each link's text say where it goes, e.g. "Pricing for teams" and "Pricing for schools". If the links really lead to the same content (for example two addresses for one page), dismiss this item.

Example

Flagged
<a href="/teams/pricing/">Pricing</a> … <a href="/schools/pricing/">Pricing</a>
Fixed
<a href="/teams/pricing/">Pricing for teams</a> … <a href="/schools/pricing/">Pricing for schools</a>

How to check your fix

  1. Update the post. The issue disappears from the Accessibility sidebar on the next check, and from the site report on the next scan.
  2. Press Tab through the page. Every link and button should receive visible focus, and its text should make sense read on its own.

Find this issue across your whole site

Lumtera runs this check in the block editor sidebar as you write, in the Elementor panel, in Review mode on the live page, and across the whole site in the content report and with wp lumtera scan. You can change its severity or turn it off in Accessibility → Settings.

All checks

Start with the free plugin today

All 64 checks, the editor sidebar, Elementor panel and site report — free, with no account and no page limits.