Element

img

Error Type

Potential

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup1.2 Provide redundant text links for each active region of a server-side image map.
  • Stanca Act
    Guideline GroupRequirement 8: Text Links For Server-side Image Maps
  • WCAG 1.0 (Level A)
    Guideline GroupPriority 1
    Guideline Subgroup1.2 Provide redundant text links for each active region of a server-side image map.
  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 1
    Guideline Subgroup1.2 Provide redundant text links for each active region of a server-side image map.

Requirement

All active areas in all server-side image maps have duplicate text links in the document.

Error

Server-side image map may be missing equivalent text links.

Short Description

Any img element that contains ismap attribute will generate this error.

Rationale

If server-side image maps must be used (e.g., because the geometry of a region cannot be represented with values of the shape attribute), authors must provide the same functionality or information in an alternative accessible format. One way to achieve this is to provide a textual link for each active region so that each link is navigable with the keyboard.

How To Determine

Question Does the document contain text links for all active areas of the imagemap?
PASS Document contains text links for all active areas of the image map.
FAIL Document does not contain text links for all active areas of the image map.

Steps To Check

Procedure

1. For each img element containing an ismap attribute, view the links in the server-side map.
2. For each active area in the server-side image map, find an equivalent text link within the document.

Expected Result

1. All active areas in all server-side image maps have duplicate text links in the document.

Failed Result

1. Add a text link to the document for each active area in the server-side image map.

Examples

Pass Examples

Image contains ismap attribute with duplicate text links.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>OAC Testfile - Check #132 - Negative</title>
</head>
<body>
<p><img src="map.gif" ismap alt="map of the country"/></p>
<p><a href="eastcoast.html">East Coast</a> | <a href="central.html">Central</a> | <a href="westcoast.html">West Coast</a></p>
</body>
</html>

Fail Examples

Image contains ismap attribute without duplicate text links.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>OAC Testfile - Check #132 - Positive</title>
</head>
<body>
<p><img src="map.gif" ismap alt="map of the country"/></p>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute