HTML and XHTML
This technique relates to Success Criterion 2.4.4: Link Purpose (In Context) (Failure).
This describes a failure condition when the context needed for understanding the purpose of a link is located in content that is not programmatically determined link context. If the context for the link is not provided in one of the following ways:
- in the same sentence, paragraph, list item, or table cell as the link
- via a suitable ARIA property such as
then the user will not be able to find out where the link is going with any ease. If the user must leave the link to search for the context, the context is not programmatically determined link context and this failure condition occurs.
Resources are for information purposes only, no endorsement implied.
Locate links where some additional link context is needed to understand the purpose of the link. For each link:
- Check whether the context is contained in the same sentence, paragraph, list item, table cell, or associated table headers.
- Check whether the link context can be programmatically determined in some other way,
for example, by using a WAI-ARIA property such as
aria-describedbyon the link to provide sufficient context
- If check #1 AND check #2 are false, the content fails the Success Criterion.