Access 1.1.3.1

From Htmlpedia
Jump to: navigation, search

Access: [1.1.3.1]: <img> (button) missing 'alt' text (Priority 1)

Cause:

If an image is used as a button, it must include "alt" text. Do not describe the image itself but rather the destination or purpose of the link.

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.3</title>
</head>
<body>
<input type="image" name="submit" src="submit.jpg">
</body>
</html>

Solution:

References: