Links in TOC have incorrect alt text in PDF generated from Apache (PDF/UA-1)
Posted: Wed Jun 29, 2022 6:40 pm
We're attempting to create accessible PDF's using the default Apache engine and are using a custom fop.xconf file. In that file, we've set the following:
<accessibility>true</accessibility>
...and:
<renderer mime="application/pdf">
<pdf-ua-mode>PDF/UA-1</pdf-ua-mode>
In the generated PDF (from Oxygen 24.0), the <Link> tags associated with the table of contents entries are automatically populated with the following value for the Alternate Text property:
"No alternate text specified"
Since the TOC entries are generated from the topicrefs in our maps, we're not setting any alt text (and it doesn't appear that you even can). When a screen reader (tested with both JAWS and NVDA) reads these TOC entries, it reads this default text instead of the name of the TOC entry. If you manually remove the value of the Alternate Text property, the screen reader correctly reads the TOC entry.
Has anyone encountered this? We're wondering if there's some other setting that we can specify in the fop.xconf file that will prevent the creation of these alt text values.
Thanks for any help with this.
<accessibility>true</accessibility>
...and:
<renderer mime="application/pdf">
<pdf-ua-mode>PDF/UA-1</pdf-ua-mode>
In the generated PDF (from Oxygen 24.0), the <Link> tags associated with the table of contents entries are automatically populated with the following value for the Alternate Text property:
"No alternate text specified"
Since the TOC entries are generated from the topicrefs in our maps, we're not setting any alt text (and it doesn't appear that you even can). When a screen reader (tested with both JAWS and NVDA) reads these TOC entries, it reads this default text instead of the name of the TOC entry. If you manually remove the value of the Alternate Text property, the screen reader correctly reads the TOC entry.
Has anyone encountered this? We're wondering if there's some other setting that we can specify in the fop.xconf file that will prevent the creation of these alt text values.
Thanks for any help with this.