Accessibility · Names and labels

Same link text, different destinations

Two links on this page both say Example page but go to different addresses, so users cannot tell them apart out of context.

How this page is built

The two links below both read Example page. One goes to the link target page and the other to the canonical target page.

Visit the first Example page, or the second Example page.

Why it matters

Screen reader users often list all links on a page. Two links with the same text that go to different places look identical in that list, so users cannot choose between them. WCAG asks that links with the same name have the same purpose.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule identical-links-same-purpose.

How to fix it

Give each link text that describes its own destination, such as “Link target page” and “Canonical target page”.

Back to all tests