Server-side image maps must not be used

Do not use server-side image maps (`<img ismap>`). They only work with a pointer and hide their links from assistive technology. Use plain links or a client-side image map instead.

Rule IDserver-side-image-map
ImpactMinor
Success criterion 2.1.1 Keyboard · A
StandardsWCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549
Readabler fix Needs a change in the website’s code

Example

Before
<a href="/cgi-bin/region">
  <img src="uk-regions.png" alt="Delivery regions" ismap>
</a>

Keyboard users can only reach one link; the region they pick cannot be chosen without a mouse.

After
<img src="uk-regions.png" alt="Delivery regions" usemap="#regions">
<map name="regions">
  <area shape="poly" coords="40,10,90,40,60,80" href="/delivery/scotland" alt="Scotland">
  <area shape="poly" coords="60,90,120,120,80,160" href="/delivery/wales" alt="Wales">
</map>

Keyboard users tab to each region; screen readers announce “Scotland, link” and “Wales, link”.

Why it matters

A server-side image map sends the coordinates of a mouse click to the server, which then decides where to go. The browser has no idea which regions exist. Keyboard users cannot choose a point on the image, so they can only follow one generic link. Screen readers have no region names to announce, so blind users cannot tell what choices are available.

People with tremors or limited dexterity also struggle to click a precise point, and touch screens handle these maps poorly. The pattern is very old and rarely needed today.

How to fix it

Replace the server-side map with something the browser understands.

Client-side image map. Define each region with <area> and give it alt text. The browser then exposes each region as a named, focusable link:

<img src="floor-plan.png" alt="Store floor plan" usemap="#floors">
<map name="floors">
  <area shape="rect" coords="0,0,150,100" href="/dept/lighting" alt="Lighting">
  <area shape="rect" coords="150,0,300,100" href="/dept/rugs" alt="Rugs">
</map>

Plain links. Often a list of links is clearer than any image map, and it works on every screen size:

<ul>
  <li><a href="/dept/lighting">Lighting</a></li>
  <li><a href="/dept/rugs">Rugs</a></li>
</ul>

Interactive maps that need coordinates. If users truly must pick any point, such as on a seat plan or a geographic map, offer an alternative way to select the same thing, like a dropdown or a search field.

After replacing it, remove the ismap attribute and the server script that read the click coordinates.

Checklist

  1. Remove the ismap attribute from images.
  2. Use a client-side map with named area elements, or plain links.
  3. Give every area alt text that names its destination.
  4. Offer a non-pointer alternative for point-and-click maps.

How the check works

The check reports every <img> element that has the ismap attribute. There is no passing variant: any server-side image map is flagged, whatever its alt text. After replacing it, run the image map area check to make sure every new region has a name.

Resources

Updated October 27, 2026