Re: How do I generate tagged PDFs with asciidoctor-pdf that can pass the accessibility test?

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/How-do-I-generate-tagged-PDFs-with-asciidoctor-pdf-that-can-pass-the-accessibility-test-tp7583p7589.html

> - perhaps chromium ‘print to pdf” already does

That's what I had in mind. If it's a matter of supplementing the HTML we feed it, easy peasy.

-Dan

On Thu, Feb 6, 2020 at 12:53 PM David Jencks [via Asciidoctor :: Discussion] <[hidden email]> wrote:
asciidoctor-pdf.js loads generated html into chromium headless browser, uses paged.js to paginate and otherwise format suitably for printing, and then uses chromium “print to pdf” to generate the pdfs.  

I see two ways this might support accessibility:

- perhaps chromium ‘print to pdf” already does
- It’s possible to manipulate the generated pdf to add things like the pdf outline.

Do you have any handy references for this accessibility stuff?

thanks
david jencks

On Feb 6, 2020, at 11:45 AM, tcowan [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Dan,

Thank you for an amazingly fast and complete response.

I am unfamiliar with asciidoctor-pdf.js, but it sounds like a new asciidoctor-pdf that uses different (perhaps more capable) technology to create PDF files.  Please confirm?

Meanwhile, I posted a question on the Prawn discussion group to see if there were any near-term plans to add tagging to PDFs.  I suspect that even if they added that feature tomorrow, it would take some time for asciidoctor to implement and test the feature.

My $0.02 is that accessibility is a big topic in academia, and asciidoctor is a powerful tool for academia.  Please consider prioritizing accessibility going forward.

...ted



To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/How-do-I-generate-tagged-PDFs-with-asciidoctor-pdf-that-can-pass-the-accessibility-test-tp7583p7586.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux