First off, I noticed that you can place the <map>
tags anywhere in the document and the image map will work just fine. So, is it common practice for people to put the <map>
tags in the <head>
, or is it better practice to have it in the <body>
immediately following the <img />
it corresponds to?
Second, I know the map tags aren't deprecated as of HTML5, and using tab you can jump through every link in a client side image map. Despite this, I hear a lot about image maps being old-fashioned and not accessible. Is this really true?
Finally, I always hear people saying there are better and more accessible ways to implement image maps using CSS or JavaScript, but I've never seen an example. Could someone show or link me to a cross-browser compatible example (i.e. works in IE).