Accessibility Issues on blank PDF



  • Hi jsreport friends,

    I am trying to get some basic PDF Accessibility going in a report. I have created a literally blank HTML document here and generated it. I have many more issue but I have removed the content to start with just to get some fundamental accessibility issues resolved.

    I then pass the resulting PDF through PDF Accessibility Checker 2021 which is from here.

    The results look like this for WCAG:

    0_1688956624227_upload-a01058e9-2188-40a0-bcbf-8fff87a29a8a

    0_1688956407363_upload-0af0bb5f-de49-4143-8051-050929b1363d

    All the 'meta' content has been completed on the template's pdf utils page. The pdf Acessibility checkbox is also checked. I am looking to see why the PDF isn't compliant even without any content and what I can do in jsreport to get these starter issues resolved.

    Thanks,

    Cameron



  • Hi,

    chrome creates "accessible" output by default by tagging all elements and adding StructTree so the document is sequentially readable by tools like Acrobat. However, it doesn't conform fully PDF/UA. The "accessibility" implementation in the pdf utils just makes sure we copy the struct tree when performing pdf utils operations like merge and append so far. I've filled to backlog task to add more features to the "accessibility" pdf utils feature so we conform PDF/UA in the future. I believe we get to it during the next months. You can subscribe here
    https://github.com/jsreport/jsreport/issues/1075

    You can get better results if you also enable the PDF/A in pdf utils. It should give you the validation report like this then.

    0_1688976975705_upload-c3efbf8a-74f5-4ed6-bd62-41c475e3b215



  • Thank you for the response Jan!


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.