Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 23 Including graphics in HTML > 23.10 Creating image maps for HTML > 23.10.2 Providing alternate text for a hotspot in an image map > 23.10.2.2 Using the title attribute for alternate text for a hotspot
When you provide alternate text for a hotspot
in an image map, by default Mif2Go assigns the text to the alt
attribute of the hotspot <area> tag.
Some browsers, notably Internet Explorer, show the text in a tooltip
when you mouse over the hotspot, whether the text is assigned to the
alt attribute or to the title
attribute of the hotspot <area> tag.
Other browsers, notably Firefox, show the tooltip on mouse-over only
if the text is assigned to the title attribute
of the hotspot <area> tag.
To have Mif2Go use the title attribute
of the hotspot <area> tag instead of
the alt attribute for alternate text:
; UseTitleForAlt = No (default) or Yes (use title attribute
; instead of alt for alternate text
When UseTitleForAlt=Yes,
Mif2Go assigns any alt text
you specify for hotspots in image maps in the [GraphALT]
section to the title attribute of the hotspot
<area> tag, and includes an empty alt
attribute for W3C validation.
Note:
If you use the [GraphALT] section
to assign alternate text to <img> tags
(see §23.8 Providing (or omitting) alternate text for images),
that text gets transferred to the <img>
tag title attribute, and you lose the content
of the <img> tag alt
attribute.
UseTitleForAlt affects
only alt content added for <img>
tags and hotspot <area> tags in the [GraphALT]
section, not alt content added for <img>
tags via markers or via the [HTMLParaStyles]
Alt property.