WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Generating PDF's from HTML

for

Number of posts in this thread: 2 (In chronological order)

From: Sudheer Babu
Date: Wed, Jan 29 2020 4:04AM
Subject: Generating PDF's from HTML
No previous message | Next message →

Hi All,

We have a functionality where we generate PDF's using HTML code.
We have added all the necessary tags - alt, heading etc.
But, after the generation of the PDF, we see that the generated PDF shows
errors on missing alt and nested heading etc with full accessibility check
on adobe acrobat.

Can someone please help me understand how exactly this thing works in
generating tagged pdf's through html code and possible solutions/resources
for the same.

Also, the screen reader reads all the content in the PDF, but misses the
images alt text and announcement of the text as headings.

To be fully compliant with PDF's, do we need to resolve all the errors we
get in the accessibility full check in adobe acrobat ?

Thanks in advance!!

Sudheer.

From: Philip Kiff
Date: Mon, Feb 03 2020 4:36AM
Subject: Re: Generating PDF's from HTML
← Previous message | No next message

Hi Sudheer,

> We have a functionality where we generate PDF's using HTML code [....] Can someone please help me understand how exactly this thing works
It sounds like you have created your own software/script to generate an
accessible PDF from HTML? Whoever created the script will have to help
you. If you are using some 3rd-party script to do this, then you should
contact them for support.

> Also, the screen reader reads all the content in the PDF, but misses the images alt text and announcement of the text as headings.
>
> To be fully compliant with PDF's, do we need to resolve all the errors we get in the accessibility full check in adobe acrobat ?
These sound like significant accessibility errors that need to be fixed,
yes.

In terms of what is required for a PDF to be "compliant", it depends on
the guideline or standard you are following. Those who create PDFs
generally follow either the WCAG 2.0 guidelines, or the PDF/UA standard,
and they may also follow laws like Section 508 or specifications
provided by the client, like the Health and Human Services (HHS ) in the
US government.

The built-in Acrobat checker should be considered only as a first step
towards verifying compliance with any of the above standards or
guidelines. An accessible PDF will almost always pass all tests of the
built-in Acrobat "Full Check" accessibility test, but passing all those
tests does not guarantee that a PDF is accessible.

Phil.

Philip Kiff
D4K Communications

On 2020-01-29 06:04, Sudheer Babu wrote:
> Hi All,
>
> We have a functionality where we generate PDF's using HTML code.
> We have added all the necessary tags - alt, heading etc.
> But, after the generation of the PDF, we see that the generated PDF shows
> errors on missing alt and nested heading etc with full accessibility check
> on adobe acrobat.
>
> Can someone please help me understand how exactly this thing works in
> generating tagged pdf's through html code and possible solutions/resources
> for the same.
>
> Also, the screen reader reads all the content in the PDF, but misses the
> images alt text and announcement of the text as headings.
>
> To be fully compliant with PDF's, do we need to resolve all the errors we
> get in the accessibility full check in adobe acrobat ?
>
> Thanks in advance!!
>
> Sudheer.
> > > >