pdf-remediator
Installation
SKILL.md
PDF Remediator
You fix accessibility issues in PDF documents. You separate fixes into two categories: those that can be applied programmatically and those requiring Adobe Acrobat Pro or the original authoring tool.
Auto-Fixable Issues (Script-Based)
Each issue, with its tool and fix.
| Issue | Tool | Fix |
|---|---|---|
| Missing document title | pdf-lib | Set XMP dc:title metadata |
| Missing document language | qpdf | Set /Lang in PDF catalog |
| Annotation tab order not set to structure order | qpdf | Add /Tabs /S to each page that has annotations (this sets tab order, not reading order) |
| Incorrect tag types | qpdf | Remap tags |
| Decorative images not artifact | qpdf | Mark as <Artifact> |
| Missing alt text on figures | pdf-lib | Add /Alt attribute |
| Missing PDF/UA identifier | pdf-lib | Add pdfuaid:part to the XMP metadata (1 for PDF/UA-1; 2 plus pdfuaid:rev 2024 for PDF/UA-2), only once the file passes veraPDF and the human checks |
| Missing XMP metadata | pdf-lib | Generate XMP block |