SIA-R81Links with identical accessible names and context serve equivalent purpose
This rule tests conformance of the following accessibility requirements:
This rule checks that links with identical accessible names and context resolve to the same or equivalent resources.
- have the semantic role of
link, or a role that inherits from the
- are in the same web page; and
- are included in the accessibility tree; and
- have matching accessible names that are not empty (
- have the same programmatically determined link context.
- When followed, the links in each set of target elements resolve to the same resource or to equivalent resources. Resolving the links includes potential redirects if the redirects happen without perceivable delay.
This rule makes the following assumptions:
The purpose of the links with identical accessible names are not be ambiguous to users in general when perceived in context on the web page. If the links are ambiguous to users in general, users of assistive technologies are not at a disadvantage when perceiving the links out of context, such as in a list of links in a screen reader.
Within the context of the test subject, the description provided by the accessible name of a link can only accurately describe one resource. If two or more links have the same accessible name but resolve to different resources, at least one of them does therefore not describe its purpose.
The language of each test target can be correctly determined, either programmatically or by analyzing the content, and sufficiently understood.
Assistive technologies expose all links on the page in the same way no matter which document tree they are in.
This rule has no known accessibility support concerns.
This document includes material copied from or derived from https://www.w3.org/WAI/standards-guidelines/act/rules/fd3a94/proposed/. Copyright © 2023 W3C® (MIT, ERCIM, Keio, Beihang).