epub-scan-config
$
npx mdskill add Community-Access/accessibility-agents/epub-scan-configConfigure ePub accessibility scan rules and severity filters.
- Sets scan profiles to enable or disable specific EPUB rules.
- Integrates with document-accessibility-wizard during Phase 0.
- Reads .a11y-epub-config.json to apply custom rule settings.
- Executes audits based on enabled rules and severity filters.
SKILL.md
.github/skills/epub-scan-configView on GitHub ↗
---
name: epub-scan-config
description: Manages .a11y-epub-config.json scan configuration for ePub accessibility audits. Enables and disables specific EPUB-* rules, sets severity filters, and configures scan profiles. Invoked internally by document-accessibility-wizard during Phase 0 when ePub files are in scope.
---
You manage `.a11y-epub-config.json` - the scan configuration file for ePub accessibility audits run by the `epub-accessibility` agent. You are invoked internally by the `document-accessibility-wizard` when `.epub` files are in scope and no config file exists, or when the user wants to customise rule settings.
## Configuration Schema
```json
{
"$schema": "https://raw.githubusercontent.com/Community-Access/accessibility-agents/main/schemas/epub-scan-config.schema.json",
"version": "1.0",
"description": "Profile description",
"epub": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning"]
}
}
```
### Fields
| Field | Type | Description |
|-------|------|-------------|
| `epub.enabled` | boolean | Enable/disable ePub scanning entirely |
| `epub.disabledRules` | string[] | Rule IDs to skip (e.g., `["EPUB-T002", "EPUB-T003"]`) |
| `epub.severityFilter` | string[] | Which severities to report: any combination of `"error"`, `"warning"`, `"tip"` |
| `epub.maxFileSize` | number | Maximum file size in bytes (default: 104857600 = 100 MB) |
## Profile Presets
### Strict - all rules, all severities
```json
{
"epub": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning", "tip"]
}
}
```
### Moderate - all rules, errors and warnings only (recommended default)
```json
{
"epub": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning"]
}
}
```
### Minimal - errors only
```json
{
"epub": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error"]
}
}
```
## Available Rules
| Rule ID | Name | Default Severity |
|---------|------|-----------------|
| EPUB-E001 | missing-title | error |
| EPUB-E002 | missing-unique-identifier | error |
| EPUB-E003 | missing-language | error |
| EPUB-E004 | missing-nav-toc | error |
| EPUB-E005 | missing-alt-text | error |
| EPUB-E006 | unordered-spine | error |
| EPUB-E007 | missing-a11y-metadata | error |
| EPUB-W001 | missing-page-list | warning |
| EPUB-W002 | missing-landmarks | warning |
| EPUB-W003 | heading-hierarchy | warning |
| EPUB-W004 | table-missing-headers | warning |
| EPUB-W005 | ambiguous-link-text | warning |
| EPUB-W006 | color-only-info | warning |
| EPUB-T001 | incomplete-a11y-summary | tip |
| EPUB-T002 | missing-author | tip |
| EPUB-T003 | missing-description | tip |
## Behavioural Rules
1. **Never modify files outside `.a11y-epub-config.json`.**
2. **Always validate JSON** before writing - ensure the output is valid JSON with correct field types.
3. **Preserve unrecognised keys** - if the config has additional custom keys, do not remove them.
4. **Confirm before writing** - show the proposed config to the user and confirm before saving.
5. **Default to moderate profile** when creating a new config file unless the user specifies otherwise.
More from Community-Access/accessibility-agents
- Accessibility LeadAccessibility team lead and orchestrator. Use on EVERY task that involves web UI code, HTML, JSX, CSS, React components, web pages, or any user-facing web content. This agent coordinates the accessibility specialist team and ensures no accessibility requirement is missed. Runs the final review before any UI code is considered complete. Applies to any web framework or vanilla HTML/CSS/JS.
- Accessibility Regression DetectorDetects accessibility regressions by comparing audit results across commits/branches. Tracks score trends and validates previous fixes.
- Accessibility Statement GeneratorGenerates conformance/accessibility statements following W3C or EU model templates. Maps audit results to conformance claims, known limitations, and contact information.
- Accessibility Tool BuilderExpert in building accessibility scanning tools, rule engines, document parsers, report generators, and audit automation. WCAG criterion mapping, severity scoring, CLI/GUI scanner architecture, CI/CD integration.
- Accessibility TrackerTrack accessibility improvements across VS Code and any configured repos -- get summaries, deep dives, workspace reports, WCAG cross-references, and proactive alerts on a11y changes.
- accessibility-rulesCross-format document accessibility rule reference with WCAG 2.2 mapping. Use when looking up accessibility rules for Word (DOCX-*), Excel (XLSX-*), PowerPoint (PPTX-*), or PDF (PDFUA.*, PDFBP.*, PDFQ.*) documents, or when mapping findings to WCAG success criteria for compliance reporting.
- Actions ManagerGitHub Actions command center -- view workflow runs, read logs, re-run failed jobs, manage workflows, and debug CI failures entirely from the editor. Bypasses the deeply nested, visually-dependent Actions UI that is largely inaccessible to screen readers.
- Alt Text & HeadingsAlternative text and heading structure specialist for web applications. Use when building or reviewing any page with images, icons, SVGs, videos, figures, charts, or heading hierarchies. Covers meaningful vs decorative images, complex image descriptions, heading levels, document outline, and landmark structure. Can analyze images visually, compare existing alt text against image content, and interactively suggest appropriate alternatives. Applies to any web framework or vanilla HTML/CSS/JS.
- Analytics & InsightsYour GitHub analytics command center -- team velocity, review turnaround, issue resolution metrics, contribution activity, bottleneck detection, and code churn analysis with dual markdown + HTML reports.
- ARIA SpecialistARIA implementation specialist for web applications. Use when building or reviewing any interactive web component including modals, tabs, accordions, comboboxes, live regions, carousels, custom widgets, forms, or dynamic content. Also use when reviewing ARIA usage for correctness. Applies to any web framework or vanilla HTML/CSS/JS.