When multiple links on a webpage share the same accessible name, they must direct users to the same destination or provide equivalent resources. This ensures that users, especially those who use screen readers, get a consistent navigation experience.
The accessible name of a link is the text or label that assistive technologies such as screen readers use to describe it. Accessible names come from the following:
The link text itself.
aria-label or aria-labelledby attributes.
The title attribute, even though it is not always announced.
Why
This section provides information about why this check is important.
Links with the same name which serve the same equivalent purpose provide the following benefits to users:
Enhanced usability: Users expect that links with the same label will lead them to the same or equivalent content.
Less confusion: Users may encounter difficulties if identical link names lead to different destinations.
Improved accessibility: Screen reader users rely on link names to understand their function.
Examples
This section provides some pass and fail examples of this check.
Pass examples
Identical link text that leads to the same destination
When multiple links on a webpage share the same accessible name, they must direct users to the same destination or provide equivalent resources. This ensures that users, especially those who use screen readers, get a consistent navigation experience.
The accessible name of a link is the text or label that assistive technologies such as screen readers use to describe it. Accessible names come from the following:
The link text itself.
aria-label or aria-labelledby attributes.
The title attribute, even though it is not always announced.
Why
This section provides information about why this check is important.
Links with the same name which serve the same equivalent purpose provide the following benefits to users:
Enhanced usability: Users expect that links with the same label will lead them to the same or equivalent content.
Less confusion: Users may encounter difficulties if identical link names lead to different destinations.
Improved accessibility: Screen reader users rely on link names to understand their function.
Examples
This section provides some pass and fail examples of this check.
Pass examples
Identical link text that leads to the same destination