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

Oxygen general issues.
BobbyG66
Posts: 37
Joined: Tue Oct 15, 2013 11:35 pm

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

Post 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
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

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

Post 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
Post Reply