Image Map Area Tags Without Alternate Content

Image Map Area Tags Without Alternate Content

WCAG Focus: WCAG 1.1.1 (A), 2.4.4 (A)

Interactive floor plans, regional office maps, and anatomical diagrams embedded in WordPress occasionally use client-side HTML <map> and <area> elements. If any clickable <area> tag omits an alt attribute, keyboard and screen reader users encounter invisible hotspots with no destination name.

Why This Pattern Violates WCAG

WCAG 1.1.1 Non-text Content (Level A) and 2.4.4 Link Purpose (Level A) require every <area> hotspot to carry an alt attribute describing its link destination or action (Technique H24).

Code Comparison

Inaccessible Image Map Area

<map name="campus">
  <area shape="rect" coords="10,10,90,90" href="/library/">
</map>

Compliant Image Map Area

<map name="campus">
  <area shape="rect" coords="10,10,90,90" href="/library/" alt="Main Campus Library">
</map>

How to Fix It in WordPress

  • Add a clear, concise alt attribute to every <area> tag inside <map>.
  • Ensure the parent <img> also provides a general alt description of the overall diagram.

Finding This Issue Automatically

Custom HTML blocks containing legacy image maps often go uninspected during routine content updates. Running the WP ADA Compliance Check plugin audits <area> tags inside your WordPress pages and alerts you immediately if any hotspot lacks alternate text.

WCAG References & Supporting Materials

WCAG Success Criteria

Supporting Documentation & Guides

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide