Graphics
Capture graphics using either graphic or inline-graphic element.
Capture an attribute mimetype with value
image
.
Capture a xlink:href attribute whose value is the file name of the image, including its extension.
File names must always be lower-case and must not contain space characters.
Capture alt text in an alt-text child of the graphic or inline-graphic element.
<inline-graphic xlink:href="acw09401.png" mimetype="image"> <alt-text>Alt text goes here</alt-text> </inline-graphic>
Decorative images
For a decorative image give the graphic element a
specific-use attribute with value decorative
. Capture an
empty alt-text element.
<graphic specific-use="decorative"
id="workid-UKRAI10JL5MB-book-part-6-graphic-2"
mimetype="image" xlink:href="decoration.png">
<alt-text/>
</graphic>
Image with long description
(Currently only used in book content.)
When an image requires a separate long description,
capture a long-desc element with a
xlink:href attribute pointing to the section ID for the
description and containing the text Full text alternative to the content
.
<fig id="workid-UKRAI10JL5MB-book-part-6-fig-1">
<label>Figure 10.1</label>
<graphic id="workid-UKRAI10JL5MB-book-part-6-graphic-1"
mimetype="image" xlink:href="chart.png">
<alt-text>Bar chart showing monthly and total visitors
for the first quarter 2014 for sites 1 to 3</alt-text>
<long-desc xlink:href="workid-UKRAI10JL5MB-book-part-6-sec-10">Full text alternative
to the content</long-desc>
</graphic>
</fig>