Jump to content
Rollo62

EU Accessibility Act (EAA) / BFSR BarrierefreiheitsGesetz - Generate PDF/UA from HTML

Recommended Posts

Hi there,

I’d like to ask if anyone here has experience working with A11y (accessibility):
https://www.bmas.de/DE/Service/Gesetze-und-Gesetzesvorhaben/barrierefreiheitsstaerkungsgesetz.html
https://commission.europa.eu/strategy-and-policy/policies/justice-and-fundamental-rights/disability/union-equality-strategy-rights-persons-disabilities-2021-2030/european-accessibility-act_en
 

This also concerns PDF files, such as data sheets, catalogs, EU declarations of conformity, and so on.
PDFs are not accessible by default; there is PDF/UA for that, and PAC is a good testing tool.
https://pac.pdf-accessibility.org
 

I’m specifically facing the issue that I generate pages in HTML and then convert them to PDF.
However, the PDF/UA-relevant entries are often lost during this conversion.
 

Has anyone experienced similar problems with HTML-to-PDF conversion? Maybe there are good tips and/or tools for this process?

Yes, I could generate PDFs directly with Delphi, but that would require a complete overhaul in so many places that I’m hoping it can also work with HTML.


I’ve also cross-posted this in the DE-DelphiPraxis.
https://www.delphipraxis.net/217301-bfsr-barrierefreiheitsges-eu-accessibility-act-eaa-pdf-ua-aus-html-generieren.html#post1549264

Edited by Rollo62

Share this post


Link to post

I've just tested some documents my app generates, and they are all rated as Taygetos+.

Everything has to be compliant in just 3 weeks, great, thank you @Rollo62.

 

 

Edited by Attila Kovacs
  • Like 1

Share this post


Link to post
20 hours ago, Attila Kovacs said:

I've just tested some documents my app generates, and they are all rated as Taygetos+.

Everything has to be compliant in just 3 weeks, great, thank you @Rollo62.

Then see German DP, perhaps this is interesting for you too
 

Quote

The PDFix Lite also works after installation, is a QT project, and even seems to fix all problems automatically.
https://pdfix.net/pricing/
The desktop version is no longer free, but if the fix works properly it's probably worth the money.
I'm currently still checking what the output is like.


PDFix Lite can also break with some PDFs, but it produces much better results and can also fix very complex PDFs.
Unfortunately, I don't currently have the ultimate test tool, partly because I don't use Adobe products myself,
there is either something from Adobe or plugins.

 

Edited by Rollo62
  • Thanks 1

Share this post


Link to post

Well, I really wouldn't like to add a post-processor behind it, it's basically impossible for it to work properly when, say, the company logo is made up of 40 paths and scribbles.

Besides, it can't modify a signed PDF anyway.

However, in my form designer, I can add accessibility semantics to the elements, like role, display name, language, etc. and with "gdicomment()", I can pass it to Gnostice, which I’ll expand with a processor and a structure-tree generator.

I think I’m going to miss the 3-week deadline, but I believe this is the only sensible solution.

 

Share this post


Link to post

Sure, but this may help a lot to find out whats possibly going wrong, this usual PDF readers shows no hint at all.
Something has to check the output PDF somehow.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×