You are here:

  1. Manual
  2. Development
  3. Images
  4. Navigation and Image maps

Images and alternate text: Navigation and Image maps

Image maps

Image maps are images for which selections are indicated in the HTML linking to other HTML documents. The visitor can click on these selections in the image to follow the links.

When using image maps, indicate an effective alternate text for both the img element and each area element by means of the alt attribute.

Guideline R-pd.7.5

Alternate texts in an imagemap (HTML)

<img src="/images/destinations.jpg"
alt="Choose a destination country"
usemap="#destinations">

<map name="destinations">
<area shape="rect" coords="40,20,120,35"
 href="/netherlands/" alt="The Netherlands">
<area shape="rect" coords="10,130,50,165"
 href="/germany/" alt="Germany">
<area shape="rect" coords="320,60,380,85"
 href="/france/" alt="France">
</map>

The W3C Web Accessibility Content Guidelines stipulate that a client-side image map should always be used instead of a server-side image map. The example above follows this.

“Provide client-side image maps instead of server-side image maps except where the regions cannot be defined with an available geometric shape.”


Web Guidelines version 1.3, November 2007.