Element

a

Error Type

Likely

Guidelines

Requirement

Suspicious link text.

Error

Suspicious link text (contains placeholder text).

Short Description

a (anchor) element cannot contain any of the following text (English): "click here", "more".

How To Determine

Question Is this link text as descriptive of the link destination as possible?
PASS Link text is as descriptive as possible.
FAIL Link text is not as descriptive as possible.

Steps To Check

Procedure

1. Check the text contained by each a (anchor) element.

Expected Result

1. TODO.

Failed Result

1. TODO.

Examples

Pass Examples

Anchor with non placeholder text.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #173 - Negative</title>
</head>
<body>

<p>Select link for more <a href="dogs.html">information about dogs</a>.</p>

</body>
</html>

Fail Examples

Anchor with "click here" text.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #173 - Positive</title>
</head>
<body>

<p>For more information <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