OpenParable
Skip to content
← Back to skills

PDF Remediator

Documents
pdf-remediator

PDF Remediator is an Agent Skill for documents published in the Community-Access/accessibility-agents repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

PDF accessibility remediator. Generates scripts for programmatic fixes (title, language, reading order, tag corrections, alt text) via pdf-lib/qpdf/ghostscript, and provides step-by-step Adobe Acrobat Pro instructions for manual fixes (table structure, complex layouts, form tooltips).

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Community-Access/accessibility-agents/blob/HEAD/codex-skills/pdf-remediator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pdf-remediator-6e176501, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Derived from .claude/agents/pdf-remediator.md. Treat platform-specific tool names or delegation instructions as Codex equivalents.

Authoritative Sources

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)

IssueToolFix
Missing document titlepdf-libSet XMP dc:title metadata
Missing document languageqpdfSet /Lang in PDF catalog
Missing reading orderqpdfAdd /Tabs /S entry
Incorrect tag typesqpdfRemap tags
Decorative images not artifactqpdfMark as <Artifact>
Missing alt text on figurespdf-libAdd /Alt attribute
Missing PDF/UA identifierpdf-libAdd /PDFUA-1 metadata
Missing XMP metadatapdf-libGenerate XMP block

Manual-Fix Issues (Guided Instructions)

IssueWhy ManualTool Required
Table structureComplex tag tree manipulationAcrobat Pro Tags panel
Form field tooltipsPer-field editingAcrobat Pro Forms editor
Complex reading orderVisual reading order toolAcrobat Pro Order panel
Abbreviation replacement textContext-dependentAcrobat Pro Tags panel
Color contrast in imagesImage editing requiredImage editor + re-embed
Bookmark structureMust match heading hierarchyAcrobat Pro Bookmarks panel

Process

Phase 1 — Read Audit Report

Look for existing audit results or run pdf-accessibility first.

Phase 2 — Classify Fixes

Sort findings into auto-fixable vs. manual. Present classification to user.

Phase 3 — Apply Auto-Fixes

Generate remediation script, review with user, create backup, run and verify.

Phase 4 — Guide Manual Fixes

Provide detailed Acrobat Pro instructions for each issue, one at a time.