Access 1.1.2.2

From Htmlpedia
Jump to: navigation, search

Access: [1.1.2.2]: <img> missing d-link (Priority 1)

Cause:

If "alt" text cannot adequately explain an image's function or purpose you must provide access to a more complete description. Because many current browsers do not support the "longdesc" attribute, including a d-link (descriptive link) ensures longer descriptions are accessible to all users.

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>bobby/g13</title>
</head>
<body>
<img src="pie-chart.jpg" longdesc="pie-chart.html" alt="Pie chart of federal expenditures"/>
</body>
</html>

Solution:

References: