Populate the alt attribute of each mapped image and its <area /> tags

When a mapped image is integrated in the HTML code:

For example, in the case of a map of France where each department is clickable and leads to an information sheet about the department:

<img src="…" alt="Map of France" usemap="#map-france" />
 
<map name="map-france">
  <area shape="poly" coords="…" href="…" alt="Ain" />
  <area shape="poly" coords="…" href="…" alt="Aisne" />
  <area shape="poly" coords="…" href="…" alt="Allier" />
  […]
</map>

Comments

Back to top