coletiv / puppeteer-pdf

PDF generation wrapper for Elixir using Puppeteer
MIT License
97 stars 18 forks source link

Not generating tagged PDF even if accessible html is provided for conversion #31

Closed dkaushik411 closed 4 years ago

dkaushik411 commented 4 years ago

We are passing an accessible html string(means screen reader reads header and paragraphs) for PDF conversion, but when it gets converted into PDF it is not a tagged PDF. Screen reader just read the content but do not specify whether it is reading a header or paragraph. This library should generate tagged PDF.

speeddragon commented 4 years ago

Hi @dkaushik411 . Currently, this isn't supported because of Chromium doesn't support it. This wrapper uses puppeteer-pdf, that uses puppeteer, that uses Chromium.

dkaushik411 commented 4 years ago

I guess this has been taken care of via this https://chromium-review.googlesource.com/c/chromium/src/+/1970742