|
Image Maps -- Dos and Don'tssee also: Standard 7 -- Server-side Maps.
Why: Client-side image maps store map information within the HTML document. Server-side image maps require server processing to define the hotspot area and action (or link location). Thus, links in server-side maps do not show up on link lists and other assistive technology tools. Plus they require more server resources and more delay time for users. How: Insert an IMG as usual. Create a MAP and link it to your IMG using the "id" attribute. Create an AREA for each map hotspot. Sample HTML Code: End Code.
Why: Unlike server-side image maps, the client-side image map allows an author to assign text to each image map “hot spots.” which helps assistive technology users to more easily identify and activate regions of the map. Also, region ALT tags will appear, even if the image does not download or images are turned off. How: For each "area" element in the map, include an ALT tag that defines the function of the area.
Get more help with image maps, visit W3C's "13.6 Image Maps".
Top
of Page || Return to Index |