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
- Contact our sales team to get access to the docker image.
- Login to the docker registry with your credentials:
docker login docker-hub.pathfindr.dev
- 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
- 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"'