Element

a

Error Type

Potential

Guidelines

  • Stanca Act
    Guideline GroupRequirement 19: Link Text
  • WCAG 2.0 (Level A)
    Guideline Group2.4 Navigable: Provide ways to help users navigate, find content, and determine where they are.
    Guideline SubgroupSuccess Criteria 2.4.4 Link Purpose (In Context) (A)
  • WCAG 2.0 (Level AA)
    Guideline Group2.4 Navigable: Provide ways to help users navigate, find content, and determine where they are.
    Guideline SubgroupSuccess Criteria 2.4.4 Link Purpose (In Context) (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group2.4 Navigable: Provide ways to help users navigate, find content, and determine where they are.
    Guideline SubgroupSuccess Criteria 2.4.4 Link Purpose (In Context) (A)

Requirement

All source anchors contain text that identifies the link destination.

Error

Anchor text may not identify the link destination.

Short Description

Anchor text must identify the link destination.

How To Determine

Question Does the anchor contain text that identify the link destination?
PASS Anchor has text that identifies the link destination.
FAIL Anchor does not have text that identifies the link destination.

Steps To Check

Procedure

1. View the link text for each source a (anchor) element.
2. Note: A source a (anchor) element must contain an href attribute.
3. Note: The link text may be contained in the body text of the a (anchor) element or the Alt text of an image used as a link.

Expected Result

1. Each source anchor contains text that identifies the link destination.

Failed Result

1. Add text within the source anchor that identifies the link destination.

Examples

Pass Examples

link text identifies the link destination
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>OAC Testfile - Check #197 - Negative</title>
</head>
<body>
<p>Here is a link to <a href="dogs.html">information about dogs</a>.</p>
</body>
</html>

Fail Examples

link text does not identify the link destination.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>OAC Testfile - Check #197 - Positive</title>
</head>
<body>
<p>For more information about dogs, <a href="dogs.html">click here</a>.</p>
</body>
</html>

English | German | Italiano


Web site engine's code is copyright © 2011
Inclusive Design Institute
Web Service API