SkillsGrove
SkillsGrove/문서 작업/Amet13/overfull/make-accessible

make-accessible

설치

$npx skills add https://github.com/Amet13/overfull --skill make-accessible
$git clone --depth 1 https://github.com/Amet13/overfull.git /tmp/overfull && mkdir -p ~/.claude/skills && cp -r /tmp/overfull/skills/make-accessible ~/.claude/skills/make-accessible
이 Agent Skill을 설치해 주세요: https://github.com/Amet13/overfull/tree/c5540f4b1f4d9d2d539a068ea7bc04821f993a83/skills/make-accessible — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MIT-0Make the PDF accessible (tagged PDF, PDF/UA) and fix accessibility check failures, including missing alt text, document language, title, table headers, math and veraPDF rule failures. Use when the accessibility check fails or warns, when the author needs an accessible thesis or paper, or before submission to a university or venue that requires accessible PDFs.
아래 SKILL.md는 Amet13/overfull(커밋 c5540f4)에서 MIT-0 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2016-2026 Amet Umierov. 라이선스: skills/LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Make the PDF accessible

The templates produce a tagged PDF through LaTeX's built-in tagging: \DocumentMetadata{…, tagging=on} at the top of main.tex, compiled with LuaLaTeX. Most fixes are about content the author must supply, not settings.

Beamer slides are the exception: beamer cannot take \DocumentMetadata, so the slides template is not tagged. Its accessibility check reports pdf-not-tagged as an expected warning; fix the title, language and alt-text problems, and do not try to add tagging to a beamer deck.

Steps

  1. Build and check:

    overfull build
    overfull check --json --checks accessibility
    
  2. Fix problems in this order: document-level settings, then figures, then tables, then the rest. Run overfull explain <rule> when unsure.

  3. Rebuild and recheck after each group.

Document level

  • \DocumentMetadata must come before \documentclass and keep tagging=on, pdfstandard and the lang setting. In the paper template it sits inside an \ifdefined\directlua test that picks the math setting for LuaLaTeX or pdfLaTeX; keep both branches in step. Do not remove it to fix a build error; fix the error instead (see fix-build).
  • Title: set in metadata.tex. The PDF title must match the document title.
  • Language: lang in \DocumentMetadata must match the text (en, de, …). Mark passages in another language with the document's language package (for example babel's \foreignlanguage).
  • Do not change the engine (except via the arXiv path in prepare-arxiv) or the PDF standard settings (pdfstandard, pdfversion).

Figures

Every figure needs alt text. See add-figure for how to write it. If you do not know what a figure shows, ask the author. Do not describe an image you cannot see, and do not write placeholder text such as "image".

Tables

  • Use real tabular tables for data, never images of tables.
  • Give each data table a header row. Follow the template's table example for marking the header so it is tagged as header cells.
  • Do not use tables for layout.

Math, links, lists

  • Write math in math mode, never as images.
  • Link text should make sense alone: "the dataset documentation", not "here".
  • Use itemize/enumerate for lists, not manual dashes and line breaks.
  • Do not rely on colour alone to carry meaning in figures or text.

veraPDF failures

The Docker image and the template workflow run veraPDF. Its failures appear in the accessibility check with the rule and, when known, the page. Common fixes:

Overfull's own rules cover the basics; veraPDF failures have ids of the form verapdf-<clause> (run overfull explain verapdf-<clause>). With --no-verapdf, or without veraPDF installed, only the basics run (verapdf-not-run, info).

Failure (rule id) Likely fix
Figure without alternate text (figure-missing-alt) Add alt text to that figure.
Missing or wrong language (pdf-missing-language) Set lang in \DocumentMetadata.
Missing title / DisplayDocTitle (pdf-missing-title) Set the title in metadata.tex.
Not tagged (pdf-not-tagged), or untagged content (verapdf-<clause>) A package that does not support tagging yet. Report the package to the author; do not remove tagging.
Fonts not embedded (font-not-embedded) Usually an included PDF figure. Re-export it with embedded fonts.
PDF/UA not claimed (pdfua-not-claimed, info) The templates claim it already. In another project, tell the author; adding pdfstandard=ua-2 (with pdfversion=2.0) is their decision, because the PDF must then pass veraPDF.

Limits

Automated checks cannot judge whether alt text is accurate, reading order makes sense, or colour contrast in figures is enough. List these for the author to review by hand.

Done

  • overfull check --checks accessibility has no errors.
  • Every alt text you wrote is based on the data or on the author's description.
  • You listed what still needs a human check.
라이선스 전문 보기(MIT-0)
MIT No Attribution

Copyright 2016-2026 Amet Umierov

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.