CriticalWCAG 2.4.4 · Level AWCAG 4.1.2 · Level A
area-altImage map area has no alt text
Clickable areas in an image map (<area> elements) without alt text are announced as unlabelled links, often just as the file or page address. Give every <area> an alt that says where it goes.
Who it hurts
Screen reader users and voice control users, who need a name to choose or say each link.
Store-finder maps, floor plans and old email-style banners still use image maps, and the alt text is easy to forget.
How to fix it
Pick your stack. Review every change before you ship it.
Before
<area shape="rect" coords="0,0,120,80" href="/stores/north">After
<area shape="rect" coords="0,0,120,80" href="/stores/north" alt="Stores in the north">Check it by hand too
Open your screen reader’s links list. Each area should appear with a clear name, such as “Hall B”.
Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.
WCAG reference
- 2.4.4 Link Purpose (In Context) (Level A). Understanding 2.4.4
- 4.1.2 Name, Role, Value (Level A). Understanding 4.1.2