We'd like to set Google Analytics cookies to learn how people use the Knowledge Base, so we can improve it. We set them only if you accept.

Skip to main content
Digital Accessibility Knowledge Base

server-side-image-map

Web validation

Server-side image maps must not be used, because they rely on mouse coordinates and offer no keyboard-accessible way to activate the linked regions.

A server-side image map is an ismap image placed inside a link. When the user clicks the image, the browser sends the click coordinates to the server, which decides what to do. Focus never lands on individual regions, so people who use a keyboard, screen reader, or voice control cannot operate the map. Replace it with a client-side image map or ordinary text links so everyone can reach the same destinations.

Pass Patterns

Client-side image map

Each hotspot is an <area> element, so it receives focus and exposes an accessible name.

HTML
<img src="world.png" alt="World map" usemap="#world-map" />


<map name="world-map">
    <area shape="rect" coords="34,44,270,350" href="/oceania" alt="Oceania" />
    <area shape="circle" coords="337,300,44" href="/europe" alt="Europe" />
</map>

Text links beside the image give everyone, including keyboard users, a clear way to reach the same pages.

HTML
<p>
    <a href="/oceania">Oceania</a> |
    <a href="/europe">Europe</a>
</p>

Fail Patterns

Server-side map with no alternative

The ismap image sends only click coordinates, so keyboard users cannot reach the destinations.

HTML
<a href="/mapper">
    <img src="nav.png" alt="Site navigation" ismap />
</a>

WCAG techniques

Sufficient techniques

Failure techniques

Try It Yourself

Using a keyboard

  1. Load the page.
  2. Press Tab repeatedly.
  3. Watch where focus lands.

Expected results: Focus reaches a control for each destination.

Actual results: Focus skips the regions, and the hotspots cannot be activated.

Using a screen reader

New to screen reader testing, or need a refresher?
Review this article first: Practical guides for using screen readers

  1. Turn on a screen reader.
  2. Navigate by links or press Tab on the page with the image map.
  3. Listen to the announced elements.

Expected results: Each destination is announced with its accessible name.

Actual results: Only a single image link is announced, with no information about the destinations.

FAQ

How does this issue relate to 2.1.1 Keyboard?

SC 2.1.1 requires all functionality to be operable with a keyboard. A server-side image map depends on mouse coordinates, so keyboard users cannot reach the linked content, which fails the criterion.

Why is this issue marked as Minor?

The barrier is limited to the specific image, and developers can usually fix it quickly by switching to a client-side map or adding text links. The impact is real but narrow, so it is rated minor.

Standards and Regulations

StandardSuccess CriterionReference
WCAG 2.22.1.1 Keyboard (A)All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.
EN 301 5499.2.1.1 KeyboardSame as the WCAG text.
Section 5081194.22(f)Client-side image maps shall be provided instead of server-side image maps except where the regions cannot be defined with an available geometric shape.
508 Trusted Tester2.1.1-keyboard-access, 4.AAll functionality can be accessed and executed using only the keyboard.

Personas impacted by this issue