Page 1 of 1

<alt> element text is not publishing in PDF output.

Posted: Thu Dec 15, 2022 6:10 pm
by BobbyG66
Hi,
We are publishing PDF's with DITA XSL-FO and Open Toolkit version 3.1
We are trying to add alt text to images by adding the <alt> element in our <image> tags.
The text does not appear in PDF's when we try to "Read Aloud", and the HTML output converts the text to an @alt attribute.
Do we need to make a change in our Open Toolkit org.dita.pdf2 files?
I am not sure what to change?
Thanks
BobbyG66

Re: <alt> element text is not publishing in PDF output.

Posted: Fri Dec 16, 2022 10:18 am
by julien_lacour
Hello,

You need to activate accessibility in the plugins/org.dita.pdf2.fop/cfg/fop.xconf file:

Code: Select all

<accessibility>true</accessibility>
Regards,
Julien