DEV Community

GP
GP

Posted on

JS PDF generator that is accessible

Image description

I'm looking for client side JS PDF generator that can output PDF which is accessible (WCAG compliance).

If you know any such library that can fulfill the requirement please share the details.

Top comments (1)

Collapse
 
aarone4 profile image
Aaron Reese

Get a copy of the syntax FM podcast supper club episode from last week. There is a discussion on a possible solution. From memory they pass the DOM to a serverless function that spins up a docker container, runs the dom through a headless browser and use the print API to generate a document into S3 storage and then fetch the link to render in the client browser. Sounds complicated to me.