Idea assumes that an img's or object's usemap attribute refers to the id of a map.
However according to spec it refers to a map's name attribute.
For example the following works on all browsers, but Idea highlights the usemap attributes with a warning:
<img class="mapper" src="giant-dog.jpg" usemap="#dog_map" alt="dog map"/>
<map name="dog_map">
<area shape="circle" coords="216,120,24"
href="http://tirauinfo.homestead.com/TheBigDog.html" alt="Click on the nose for more info about this big dog!"/>
</map>
Description
Idea assumes that an img's or object's usemap attribute refers to the id of a map.
However according to spec it refers to a map's name attribute.
For example the following works on all browsers, but Idea highlights the usemap attributes with a warning:
<img class="mapper" src="giant-dog.jpg" usemap="#dog_map" alt="dog map"/>
<map name="dog_map">
<area shape="circle" coords="216,120,24"
href="http://tirauinfo.homestead.com/TheBigDog.html" alt="Click on the nose for more info about this big dog!"/>
</map>