Skip to main content

Validation of PDF/UA PDF's

After you have generated a document with LabraDocs, you can validate it to ensure that it meets the PDF/UA standard. This is important if you want to ensure that your document is accessible to everyone, including people with disabilities.

How to validate a PDF/UA PDF

To validate a PDF/UA PDF, you can download a docker image from our docker-hub repository. The image contains a standalone pdf validator that can be used to validate your PDF/UA PDF.

Setup

  1. Contact our sales team to get access to the docker image.
  2. Login to the docker registry with your credentials:
docker login docker-hub.pathfindr.dev
  1. Run the validator with the following command:
# our service runs on port 8000 in the container, if you prefer a different port, you can change the port mapping here 
docker run -p 5000:5000 docker-hub.pathfindr.dev/eg/pdfvalidator:latest
  1. Use curl or another http client to send a POST request to the validator:
curl --location 'http://localhost:5000/validate' \
--form 'file=@"postman-cloud:///1ef35943-10b9-47d0-8c58-340a7c31af21"'