DeepBlueCLtd / LegacyMan

Legacy content for Field Service Manual
https://deepbluecltd.github.io/LegacyMan/index.html
Apache License 2.0
2 stars 0 forks source link

Need target element label in imagemap #472

Closed IanMayo closed 1 year ago

IanMayo commented 1 year ago

The HTML image map construct allows for a label to be provided when hovering over a target in an image map.

This was originally put into an alt attribute in IE. Later browsers put it into a title element instead.

When we generate an image map, we should retrieve the alt text, and use it as the contents of the <xref> element.

The example here includes a "Section 1" label: https://docs.oasis-open.org/dita/v1.0/langspec/imagemap.html

robintw commented 1 year ago

Fixed in #474.