PDF Accessibility Audit
v0.2.0Local-first PDF accessibility triage: cited findings, offline HTML report, not a validator.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audit_pdf Audit a PDF
Audit one local PDF for accessibility structure, headings, tables, figures, forms, reading order, fonts, scans, metadata and navigation. Returns a compact summary by default, or Markdown, JSON or a self-contained HTML report. No upload and no model call. Scores are triage signals, not a conformance certificate.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to a local PDF file (absolute, or relative to the server working directory) |
format | string | Output format (default summary) |
maxFindings | integer | Maximum findings to return; scores and counts always use every finding (default 500) |
minSeverity | string | Only return findings at or above this severity (scores are unaffected) |
offset | integer | Skip this many findings before returning them (pagination; scores are unaffected) |
output | string | Write the report to this path (HTML uses <name>-a11y-report.html in the current directory when omitted) |
overwrite | boolean | Allow replacing an existing output file (default false) |
audit_batch Audit a folder of PDFs
Audit every PDF in one or more local files or directories and return a compact comparison table. Files that fail to parse are reported individually instead of aborting the batch. Use format "json" for full reports.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Files or directories to scan |
format | string | Output format (default markdown) |
maxDepth | integer | Maximum directory depth (default 8) |
maxFiles | integer | Stop collecting after this many PDFs (default 1000) |
maxFindings | integer | |
minSeverity | string | |
recursive | boolean | Walk subdirectories (default true) |
explain_finding Explain a finding
Return the rule description, severity, tier, standards mapping and remediation guidance for a rule ID such as pdfua.tagged or figures.missing-alt.
| Parameter | Type | Description |
|---|---|---|
ruleId * | string | Rule ID, for example figures.missing-alt |
list_checks List checks
List the audit rule catalog, including manual checks. Filter by category, severity, tier or automation status.
| Parameter | Type | Description |
|---|---|---|
automated | boolean | |
category | string | |
severity | string | |
tier | string |
compare_reports Compare two audit reports
Compare two pdf-a11y-audit JSON reports for the same document and list new, fixed and persisting rules plus score changes. Refuses to compare different documents unless allowDifferent is true.
| Parameter | Type | Description |
|---|---|---|
after * | string | Path to the later JSON report |
before * | string | Path to the earlier JSON report |
allowDifferent | boolean | Allow comparing reports for different documents (default false) |
render_report Render a JSON report as HTML
Turn an existing pdf-a11y-audit JSON report into the self-contained HTML report. Refuses to replace an existing file unless overwrite is true.
| Parameter | Type | Description |
|---|---|---|
report * | string | Path to a JSON report |
output | string | HTML output path |
overwrite | boolean | Allow replacing an existing file (default false) |