alt text dropped in FO/PDF output of DocBook XML
Posted: Thu Mar 15, 2018 7:40 pm
We include alt-text whenever we include images via "mediaobject"--this is a requirement for 508 compliance. Here is an example:
<mediaobject>
<alt>Department of Veteran's Affairs Logo</alt>
<imageobject>
<imagedata contentwidth="2in"
align="center"
fileref="images/va-logo.png"
format="png"/>
</imageobject>
</mediaobject>
However, the alt text entries are stripped in the resulting FO output despite running with <accessibility>true</accessibility> set in fo.conf. I doubt we're the first ones to encounter this issue--is there a parameter that needs to be set in order for alt text to be inserted into the resulting FO output?
<mediaobject>
<alt>Department of Veteran's Affairs Logo</alt>
<imageobject>
<imagedata contentwidth="2in"
align="center"
fileref="images/va-logo.png"
format="png"/>
</imageobject>
</mediaobject>
However, the alt text entries are stripped in the resulting FO output despite running with <accessibility>true</accessibility> set in fo.conf. I doubt we're the first ones to encounter this issue--is there a parameter that needs to be set in order for alt text to be inserted into the resulting FO output?