Skip to content

NickColley/convert-html-to-accessible-pdf

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Convert HTML to Accessible PDF

Authoring

There are a few additional things to consider above regular HTML that are documented in the openHTMLtoPDF accessibility guidelines.

Use a screen reader such as VoiceOver to test your output.

How to run the project

Before you start

You'll need to install:

Installing dependencies

mvn install

Building

mvn package

Running

Once you've built the package you can supply it with two arguments. The first argument is the HTML file you want to convert. The second argument is the output PDF file.

java -jar target/html-to-apdf-1.0.0.jar template.html output.pdf

About

Working example of using openhtmltopdf to create an accessible PDF from HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published