PDF Export properties change embedded language (accessibility, screenreader)
Hi,
anyone have experience with changing language Attribute / Metadata passed to the PDF?
The Metadata of the PDF is always English, regardless of the operator setting.
This is an accessibility issue, as the screenreader will identify the language of the PDF as English and then go and try to read the German text.
We're using HTMLtoPDF to generate PDF's, configured pyPDFSettings to our needs, but it does not contain a language option.
We also configured pyCompactStylesForPDF to override some pxCompactstylesForPDF classes as there is a font specified in that is not embedded (again accessibility issue).
We could theoretically add the language to every paragraph we have, but ideally it should be specified in the PDF properties instead of the default English.
*** EDIT *** Using wrapper paragraphs that contain the HTML for the Language works (as confirmed by our accessibility tester with screenreaders) but it's not a very practical solution for large dynamically generated PDF's