<alt-text>
The <alt-text>
element in a DITAVAL
document specifies alternate text for an image that is used to flag
content. If an image is not specified, the text is used to mark the
flagged content.
Rendering expectations
If no alternate text is specified, processors can provide default alternate text to indicate the start and end point of the flagged content.
Content model
Text
Contained by
<endflag>
,
<startflag>
Text
Contained by
-
<endflag>
-
<startflag>
Attributes
None
Example
This section is non-normative.
The following code sample shows a DITAVAL document that is used to
render icons before content that is specific to particular
audiences. The <alt-text>
element provides
alternate text for the icons:
<val>
<prop action="flag" att="audience" val="novice">
<startflag imageref="novice-icon.gif">
<alt-text>Novice</alt-text>
</startflag>
</prop>
<prop action="flag" att="audience" val="expert">
<startflag imageref="expert-icon.gif">
<alt-text>Expert</alt-text>
</startflag>
</val>