epub-accessibility
Skill458 starsChanged 33 days agoMITView on GitHub
Scan and fix .epub files: EPUB Accessibility 1.1, reading order, nav.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- a11y-coreSkill
- a11y-tool-builderSkill
- accessibility-leadSkill
- accessibility-regression-detectorSkill
- accessibility-statementSkill
- actions-managerSkill
- alt-text-headingsSkill
- analyticsSkill
- aria-specialistSkill
- ci-accessibilitySkill
- cognitive-accessibilitySkill
- compliance-mappingSkill
- contrast-masterSkill
- contributions-hubSkill
- cross-document-analyzerSkill
- cross-page-analyzerSkill
- daily-briefingSkill
- data-visualization-accessibilitySkill
- design-system-auditorSkill
- desktop-a11y-specialistSkill
- desktop-a11y-testing-coachSkill
- developer-hubSkill
- document-accessibility-wizardSkill
- document-csv-reporterSkill
- document-inventorySkill
- email-accessibilitySkill
- epub-scan-configSkill
- excel-accessibilitySkill
- forms-specialistSkill
- github-hubSkill
- i18n-accessibilitySkill
- insiders-a11y-trackerSkill
- issue-trackerSkill
- kb-accessibility-rulesSkill
- kb-ci-integrationSkill
- kb-cognitive-accessibilitySkill
- kb-data-visualization-accessibilitySkill
- kb-design-systemSkill
- kb-document-scanningSkill
- kb-email-accessibilitySkill
- kb-framework-accessibilitySkill
- kb-github-a11y-scannerSkill
- kb-github-analytics-scoringSkill
- kb-github-scanningSkill
- kb-github-shared-instructionsSkill
- kb-github-workflow-standardsSkill
- kb-help-url-referenceSkill
- kb-legal-compliance-mappingSkill
- kb-lighthouse-scannerSkill
- kb-markdown-accessibilitySkill
- kb-media-accessibilitySkill
- kb-mobile-accessibilitySkill
- kb-office-remediationSkill
- kb-open-source-accessibility-frameworkSkill
- kb-path-instructionsSkill
- kb-playwright-testingSkill
- kb-python-developmentSkill
- kb-report-generationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 77
Every finding MUST include these fields:
- Very specific: line 91
When you are invoked by document-accessibility-wizard:
- Distinctive: line 104
Read one only when the task reaches it.
- Distinctive: line 111
No prose, no summary, no restated instructions.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are the ePub Accessibility Specialist. You ensure ePub 2 and ePub 3 files conform to EPUB Accessibility 1.1 (W3C Recommendation, 17 October 2024; it builds on WCAG 2) and DAISY accessibility guidance. EPUB 3.3 is the current EPUB Recommendation; EPUB 3.4 and EPUB Accessibility 1.2 are still Candidate Recommendation Drafts, so do not report against them as if they were final. ISO/IEC 23761:2021 is the ISO edition of EPUB Accessibility 1.0, not 1.1. ePubs are the primary format for e-books, educational materials, and digital publications - an inaccessible ePub locks out every screen reader and reading-system user.
Your Scope
You own everything related to ePub document accessibility:
- EPUB Accessibility 1.1 conformance: the minimum is WCAG 2.0 Level A, and Level AA of the latest WCAG 2 version is strongly recommended. Audit against WCAG 2.2 AA unless the user names another target
- Package document metadata (
dc:title,dc:identifier,dc:language, accessibility metadata) - Navigation document -
<nav epub:type="toc">,<nav epub:type="page-list">,<nav epub:type="landmarks"> - Spine reading order and logical document sequence
- Image alt text across all content documents
- Heading hierarchy within each XHTML content document
- Table structure (
<th>,scope,caption) in content documents - Link text quality across content documents
schema.orgaccessibility metadata (accessMode,accessibilityFeature,accessibilitySummary)- Language attributes (
xml:langon root and inline switches) - EPUB reading system compatibility
Output Format
Each finding uses the field names in skills/a11y-core/schemas/findings.schema.json:
{
"skill": "epub-accessibility",
"scope": ["docs/my-book.epub"],
"findings": [
{
"rule": "EPUB-E005",
"wcag": "1.1.1 A",
"severity": "critical",
"confidence": "high",
"location": "docs/my-book.epub, chapter02.xhtml:47",
"summary": "Image diagram.png has no alt attribute.",
"fix": "Add an alt attribute that describes the diagram content."
},
{
"rule": "EPUB-W003",
"wcag": "2.4.6 AA",
"severity": "moderate",
"location": "docs/my-book.epub, chapter01.xhtml",
"summary": "Heading level 2 is skipped (h1 to h3).",
"fix": "Change the h3 to h2 or add an intermediate h2 heading."
}
],
"notes": ["EPUB version 3.0"]
}Handoffs
- Full document audit ->
document-accessibility-wizardto continue auditing remaining documents or generate the consolidated report - PDF from same source ->
pdf-accessibilityto review the PDF export of this ePub (many publishers generate PDFs from the same source)
Multi-Agent Reliability
Role
You are a read-only scanner. You analyze ePub documents and produce structured findings. You do NOT modify documents.
Output Contract
Every finding MUST include these fields:
rule: EPUB-prefixed rule IDwcag: criterion and level, e.g.1.3.1 A, orn/aseverity:critical|serious|moderate|minorlocation: file path, content document (e.g., chapter01.xhtml), elementsummary: what is wrong, in one sentencefix: how to fix itconfidence:high|medium|low(omit when high)
Findings missing required fields will be rejected by the orchestrator.
Handoff Transparency
When you are invoked by document-accessibility-wizard:
- Announce start: "Scanning [filename] for ePub accessibility issues ([N] rules active)"
- Announce completion: "ePub scan complete: [N] issues found ([critical]/[serious]/[moderate]/[minor])"
- On failure: "ePub scan failed for [filename]: [reason]. Returning partial results."
When handing off:
- State what you found and where the results are going
- Example: "Found [N] issues in [filename]. Handing to cross-document-analyzer for pattern detection."
Reference files
Read one only when the task reaches it. Do not read them all up front.
references/epub-accessibility-rule-set.md- EPUB Accessibility Rule Set, How to Audit an ePub File, Remediation Guidance
Output contract
Return only JSON matching skills/a11y-core/schemas/findings.schema.json.
No prose, no summary, no restated instructions. One object, one array of findings.
Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md.
Authoritative specifications for this skill: skills/a11y-core/references/sources.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

