Access 1.1.1.11

From Htmlpedia
Jump to: navigation, search

Access: [1.1.1.11]: <img> missing 'alt' text (bullet) (Priority 1)

Cause:

All images require text equivalents, including those used to identify items in a list. If an image is used as a bullet, it should include the following "alt" text: alt="*" or alt="bullet".

Example:

Bad
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/1.1.1</title>
</head>
<body>
<img src="star.jpg" width="5" height="5">
</body>
</html>
Good
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/1.1.1</title>
</head>
<body>
<img src="star.jpg" width="5" height="5" alt="*">
</body>
</html>

Solution:

Add appropriate alt text.

References: