HTML and XHTML
This technique relates to:
- Success Criterion 2.4.4: Link Purpose (In Context) (Sufficient as a way to meet an unwritten technique)
- Success Criterion 2.4.9: Link Purpose (Link Only) (Advisory)
The objective of this technique is to demonstrate how to use a
attribute on an anchor element to provide additional text describing a link. The
title attribute is used to provide additional information to help clarify
or further describe the purpose of a link. If the supplementary information provided
title attribute is something the user should know before
following the link, such as a warning, then it should be provided in the link text
rather than in the
Because of the extensive user agent limitations in supporting access to the title attribute, authors should use caution in applying this technique. For this reason, it is preferred that the author use technique C7: Using CSS to hide a portion of the link text or H30: Providing link text that describes the purpose of a link for anchor elements.
Resources are for information purposes only, no endorsement implied.
Examine the source code for anchor elements.
- For each anchor element that has a
titleattribute, check that the
titleattribute together with the link text describes the purpose of the link.
- Check #1 is true.