Web Accessibility

Image Map Example

If you use image maps, use client-side image maps with Alt text for the linked hotspots. Alt text can be supplied for links in image maps by inserting the attribute in the AREA tag.

Note: The image and each coordinate of the Image Map must have an alt tag.

Example

Las Positas College: Welcome Guidelines Home Principles Alt Tags Image Map

 

 

To see the alt tags, first place your mouse over the main picture. Then place your mouse over each of the links in the picture.

 

 

 

This was created by inserting the image into the document:

  1. <img src="Arches21.jpg" alt="Photo of Las Positas College Campus">
  2. Then add the image map to the <img> tag
  3. <img src="Welcome2.jpg" alt="Photo of Las Positas College Campus" usemap="#map1">
  4. Finally create the image map and add alt tags for each of the coordinates: <map name="map1"> <area shape="rect" coords="11,251,73,276" href= "http://www.laspositascollege.edu/accessibilty" alt="Guidelines Home" title="Guidelines Home"> </map>

Source Code

To insert alternative text into your image map directly through HTML, find your image map <area> tags in your HTML code and add the alt information. It will look simillar to this:

<img src="image.jpg" alt="Alternative Text Information" usemap="#map_name">

<map name="map_name">

<area shape="rect" coords="11,251,73,276" href="live_url_link.htm" alt="Alt Text Information" title="Title Information">

</map>

Portions of this website are used with permission from Penn State University.

Web Accessibility

925.424.1655

Page last modified: April 19, 2007