http://www.geocities.com/stanio/temp/usemap01.html
(an IMG element using MAP described with AREA elements)
I'm trying to make it more accessible and currently I'm testing in
Lynx. Lynx plays it clever and when I "enter" the map it shows only
3 links no matter there are 5 AREAs (3 point to a same reference). I
don't like Lynx displays the 'alt' text and not the link titles
(I've used slightly different titles for the 3 links which point to
a same reference for testing purposes, but they should really be
the same).
So to make it more accessible in Lynx I've tried:
http://www.geocities.com/stanio/temp/usemap02.html
an OBJECT element using and enclosing MAP described with A
elements, so Lynx would display the links in-document and not
separately. But then I don't want the duplicate reference links to
appear - this is my primary goal.
Something which is not very clear for me:
http://www.w3.org/TR/html401/struct/...de_image_map-1
Can I combine block-level content included A elements with AREA
elements? The spec states:
When a MAP element contains mixed content (both AREA elements and
block-level content), user agents must ignore the AREA elements.
which in turn means (to me) that in graphical browsers showing the
image/object the additional areas specified with AREA wouldn't be
active... ?
In fact the different browsers I've tried (Netscape/Mozilla, IE and
Opera) behave very strange in such situation. Here are other test
cases for this (including when the MAP is outside the OBJECT):
http://www.geocities.com/stanio/temp/usemap03.html
http://www.geocities.com/stanio/temp/usemap04.html
http://www.geocities.com/stanio/temp/usemap05.html
http://www.geocities.com/stanio/temp/usemap06.html
Only Opera unifies As and AREAs. For Netscape/Mozilla there's
different behavior if I put AREAs first or the As first. IE is hopeless.
I'm confused about what is right and what approach I should take.
--
Stanimir