PDF Accessibility Audit

v0.2.0
io.github.Veduis/pdf-a11y-audit Checked 8 hours ago Published 15 days ago

Local-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.

ParameterTypeDescription
path *stringPath to a local PDF file (absolute, or relative to the server working directory)
formatstringOutput format (default summary)
maxFindingsintegerMaximum findings to return; scores and counts always use every finding (default 500)
minSeveritystringOnly return findings at or above this severity (scores are unaffected)
offsetintegerSkip this many findings before returning them (pagination; scores are unaffected)
outputstringWrite the report to this path (HTML uses <name>-a11y-report.html in the current directory when omitted)
overwritebooleanAllow 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.

ParameterTypeDescription
paths *arrayFiles or directories to scan
formatstringOutput format (default markdown)
maxDepthintegerMaximum directory depth (default 8)
maxFilesintegerStop collecting after this many PDFs (default 1000)
maxFindingsinteger
minSeveritystring
recursivebooleanWalk 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.

ParameterTypeDescription
ruleId *stringRule 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.

ParameterTypeDescription
automatedboolean
categorystring
severitystring
tierstring

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.

ParameterTypeDescription
after *stringPath to the later JSON report
before *stringPath to the earlier JSON report
allowDifferentbooleanAllow 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.

ParameterTypeDescription
report *stringPath to a JSON report
outputstringHTML output path
overwritebooleanAllow replacing an existing file (default false)