pdfmake
pdfmake copied to clipboard
PDF Accessibility (PDF/UA)
Hi, This is more of a question. I went through the features it supports. Does it support pdf Accessibilty as mentioned in "https://www.w3.org/TR/WCAG-TECHS/pdf.html". I am mainly looking for :
- Tagging elements that will help create a table of contents.
- Screen readers are able to read this document which will contains columns/tables/lists etc.
If it does, can you guide me on where I can find examples of getting this done?
Thanks, Neha.
You can refer to here http://pdfmake.org/playground.html
I referred to the Playground and specifically the styles and images sections. There is nothing there about Tagging for screen reader compatibility or setting Alt Text for images. The PDF spec has handling of both tagging and alt text. Is it possible that PDFMake might have this capabiity in the future? If you think it has it now, just give me a simple example of how to add a navigation tag to a text element declaration and how to add alt text for an image element. Much appreciated!
Is this going to be addressed? We also would like an a11y feature
Is it already possible to add alternative texts?
I came here to ask the same question but it seems that as of today it's not possible to tag a pdf for accessibility compliance with pdfMake :(
My team has this need as well. I've forked the repository and will be taking a look to see if we can implement this feature.
@rcassidy-vanguard: If you do fork, please post the info to this thread. I'd be happy to take a look/test it for you.
There is a big need for a free HTML to PDF converter to have this feature as none seem to.
I think many people don't know that tags exist or what they do in PDFs. They are essential for assistive technologies (like a screen reader) to read and interact with a PDF. The tag tree can be found in Acrobat Pro > View > Show/Hide > Navigation Panes > Accessibility tags.
The most common tags map pretty closely to HTML. Heading tags for example are the same, they're < h1>, < h2> etc. It would in theory be a fairly straightforward conversion (though I am not an engineer so take that with a grain of salt).
I'd love to see this feature implemented. If anyone has any luck with a fork please let us know. I remediate PDFs professionally, and if I can be of any help, please reach out.
I have a requirement to generate accessible PDF. The PDFs are about 1 page with checkboxes and text fields, headings.
Is their any support at all for tags? Like heading tags(h1), list tags(ul li), table of contents, etc.
Please add accessibility to the library! There are many people nowadays that requires to interact with documents using screen readers. This feature would help so many people!
Are there any updates on this proposal?
Are there any updates on this proposal?
Sadly, we haven't seen any formal response to the accessibility/tagging request and no changes to the code (that I know of) to address that accessibility need. Devs are welcome to correct me if that is not accurate.
I'm not sure about the effort that would be required to implement this kind of feature but if this library is based on pdfkit then I think it should be possible to integrate their accessibility system. I found this section on their documentation website: https://pdfkit.org/docs/accessibility.html