Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create "accessible" PDFs from HTML?

Does anyone have any suggestions on how to generate accessible PDFs (including images) from HTML?

The PDFs need to look like the original HTML, including positions of images etc. Any special HTML structure required to help make the final PDF accessible?

  • I've seen questions about creating PDFS none of them specifically address the important issue of accessibility.

My poison of choice is Perl but references to any program, language or library will help.

I have a more in-depth question at TypeDoc if anyone has more general information to offer. http://doctype.com/TiB

Also, I, and others, would find it useful if users with accessibility problems could comment if they find the "usability experience" of using PDFs better or worse than reading from Plain Old Semantic HTML (POSH).

Thanks Mike

like image 783
MikeyB_Leeds Avatar asked Feb 18 '26 17:02

MikeyB_Leeds


1 Answers

Look into PrinceXML. Through CSS you can control margins, page breaking and orientation. While not open source, you can try it for free, but it places a small water mark in the upper right corner.

like image 66
Adam Flott Avatar answered Feb 20 '26 07:02

Adam Flott