Different link targets
(Referring UWEM Test: 13.1_HTML_01)Test info
Failure cause
Different link targets for the same title and text found.
The inspected a or area element has the same target information (element text, title or alt attribute) as another a or area element in the (X)HTML resource but a different link
target (href attribute).
Why this may be a barrier
Clear link titles are helpful for all users to decide whether they want to follow a link and are essential for screen reader users, who will often review the list of links on a page before investing the time to read through the content in detail - the equivalent of visually scanning a page to get an overview. Because the list of link titles are read out of context, it is important to provide link titles that do not require the user to read the surrounding information.
Good Example
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 //EN">
<html>
<head><title>Sample: Page with correct title and element text</title></head>
<body><p>
Presidential election<br></p>
<a href="news1.html">Read "Presidential election"</a>
<p>
Global warming<br></p>
<a href="news2.html">read "Global warming"</a>
<p>
Nobel Peace Price<br></p>
<a href="news3.html">read "Nobel Peace Price"</a></body>
</html>
Solution
Write clear and meaningful link titles which make sense when read out of context and avoid using the same title for two or more links that point to different places.
Also see W3: HTML Techniques for WCAG 1.0 – Link text
References
Related WCAG 1.0 Checkpoint
13.1"Clearly identify the target of each link." [Priority 2]
WCAG 1.0 Checkpoint 13.1Referring UWEM Test
13.1_HTML_01This test is targeted to find elements with the same title and text with different link targets. If no title attribute is provided, only the element text is checked.