Text alternatives

Replace server-side image maps

Rule ID: PF-NO-SERVER-IMAGE-MAP

  • WCAG A
  • 2.1.1 Keyboard

Why it matters

A server-side image map (an <img ismap> inside a link) sends click coordinates to the server, so it works only with a pointer: keyboard users can't choose a region and screen readers can't tell what regions exist. This maps to WCAG 2.1.1 Keyboard (Level A); Pallyfi reports every ismap image for review.

Who it affects

  • Keyboard users
  • People using switch devices or voice control

How to fix it

Replace it with a client-side image map built from <map> and <area> elements with alt text, or with ordinary links or buttons.

Accessible example
<img src="nigeria-regions.png" alt="Map of Nigeria by region" usemap="#regions" />
<map name="regions">
  <area shape="rect" coords="0,0,200,150" href="/regions/north" alt="Northern region" />
  <area shape="rect" coords="0,150,200,300" href="/regions/south" alt="Southern region" />
</map>

How to verify a fix

Scan the page again: the element should no longer be listed for this rule. Then check it the way people use it, for example with a keyboard or a screen reader, since a passing rule shows the markup is right, not that the experience works.

What automated testing can confirm

This is an automated rule that runs on every Pallyfi scan. A pass means the rule found no failing elements in what was rendered at scan time; it doesn’t cover content behind interactions the scan didn’t reach, and some criteria still need a person to check with a keyboard or screen reader. When the rule can’t decide on its own, the element is listed under Needs review instead. Manual audits record human evidence alongside the automated result.

Check your site for this

Quick Scan checks a public page against every rule Pallyfi runs and shows each failing element.

Run a Quick Scan