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-tp7583p7584.html

The PDF generator that Asciidoctor PDF uses, Prawn, does not support tagged PDFs. As a result, Asciidoctor PDF does not support tagged PDFs. I don't know anything we can do about that. (But if someone else does know, I encourage you to come forward with that information).

This could be an important goal for the asciidoctor-pdf.js project, which starts with HTML. See https://github.com/mogztter/asciidoctor-pdf.js

Cheers,

-Dan

On Thu, Feb 6, 2020 at 12:17 PM tcowan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I teach for a local university that is now requiring us to distribute documents that are "accessible".  I have been using asciidoctor to author my assignments and syllabi (because it is fabulous) but the resultant PDF files created by asciidoctor-pdf are not tagged and therefore fail the accessibility test.  There are other issues that lower my score, such as contrast, but I believe I can correct that on my own.

I note that if I upload the same document in HTML format, the HTML file passes the accessibility test with 100%.

Is there any way to create tagged PDFs using asciidoctor that can pass the accessibility test?

...ted


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-tp7583.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