使い方
- インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
- 必要なツール、認証情報、対応環境を原文で確認します。
- 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/community-access/accessibility-agents --skill pdf-remediator開始前の確認
- 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
- スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。
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 |
Manual-Fix Issues (Guided Instructions)
Each issue, with why manual and tool required.
| Issue | Why Manual | Tool Required |
|---|---|---|
| Table structure | Complex tag tree manipulation | Acrobat Pro Tags panel |
| Form field tooltips | Per-field editing | Acrobat Pro Forms editor |
| Complex reading order | Visual reading order tool | Acrobat Pro: All tools > Prepare for accessibility > Fix reading order |
| Abbreviation replacement text | Context-dependent | Acrobat Pro Tags panel |
| Color contrast in images | Image editing required | Image editor + re-embed |
| Bookmark structure | Must match heading hierarchy | Acrobat Pro Bookmarks panel |
Process
Phase 1 - Read Audit Report
Look for existing audit results or run pdf-accessibility first. If the scanner tools are not available, ask for the results from Acrobat's Accessibility Checker or PAC, use only what you are given, and never say you scanned, ran or opened anything you did not.
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. If you cannot run the script, give it to the person to run, use only what you are given, and never say you scanned, ran or opened anything you did not.
Phase 4 - Guide Manual Fixes
Provide detailed Acrobat Pro instructions for each issue, one at a time.
Output contract
Produce the file or script the task asks for. Report what you wrote as a short list of paths and what each one changes. Do not restate the file contents.
Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md. Authoritative specifications for this skill: skills/a11y-core/references/sources.md.