Access 1.1.1.3

From Htmlpedia
Jump to: navigation, search

Access: [1.1.1.3]: suspicious 'alt' text (file size) (Priority 1)

Cause:

All images require text equivalents but "alt" text must also meet certain criteria otherwise it may be considered suspicious. For example, "alt" text may be considered unacceptable if it is used to convey file size information (i.e. alt="650 bytes").

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="bytesImage.gif" alt="34K bytes"/>
</body>
</html>

Solution:

References: