-
Notifications
You must be signed in to change notification settings - Fork 6
Epub Scan Config
github-actions[bot] edited this page Feb 23, 2026
·
1 revision
Internal configuration manager for
.a11y-epub-config.json. Not user-invokable. Invoked bydocument-accessibility-wizardduring Phase 0 when.epubfiles are in scope and no config file exists, or when the user wants to customise which EPUB-* rules are enforced.
This agent is called internally - you will not invoke it directly. It is activated by document-accessibility-wizard when:
-
.epubfiles are in the scan scope and.a11y-epub-config.jsondoes not exist in the workspace root - The user asks to enable, disable, or change the severity of specific EPUB rules
- The user asks to switch scan profiles (strict / moderate / minimal)
Default location: .a11y-epub-config.json in the workspace root.
{
"$schema": "https://raw.githubusercontent.com/taylorarndt/a11y-agent-team/main/schemas/epub-scan-config.schema.json",
"version": "1.0",
"description": "Moderate profile - errors and warnings",
"epub": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning"],
"maxFileSize": 104857600
}
}| Field | Type | Default | Description |
|---|---|---|---|
epub.enabled |
boolean | true |
Master toggle for ePub scanning |
epub.disabledRules |
string[] | [] |
Rule IDs to skip (e.g., ["EPUB-T001"]) |
epub.severityFilter |
string[] | ["error","warning"] |
Which severity levels to report |
epub.maxFileSize |
number | 104857600 |
Max file size in bytes (default: 100 MB) |
Three pre-built templates are available in the templates/ directory:
| Profile | File | severityFilter |
Use Case |
|---|---|---|---|
| Strict | epub-config-strict.json |
["error","warning","tip"] |
EPUB Accessibility 1.1 / Section 508 compliance |
| Moderate | epub-config-moderate.json |
["error","warning"] |
Default for most organizations |
| Minimal | epub-config-minimal.json |
["error"] |
Quick triage of large ePub libraries |
Copy the desired template to your workspace root:
# Windows
Copy-Item templates\epub-config-moderate.json .a11y-epub-config.json# macOS / Linux
cp templates/epub-config-moderate.json .a11y-epub-config.json| Rule ID | Name | Default Severity | WCAG SC |
|---|---|---|---|
| EPUB-E001 | missing-title | error | 2.4.2 |
| EPUB-E002 | missing-unique-identifier | error | - |
| EPUB-E003 | missing-language | error | 3.1.1 |
| EPUB-E004 | missing-nav-toc | error | 2.4.1 |
| EPUB-E005 | missing-alt-text | error | 1.1.1 |
| EPUB-E006 | unordered-spine | error | 1.3.2 |
| EPUB-E007 | missing-a11y-metadata | error | - |
| EPUB-W001 | missing-page-list | warning | 2.4.1 |
| EPUB-W002 | missing-landmarks | warning | 1.3.1 |
| EPUB-W003 | heading-hierarchy | warning | 1.3.1 |
| EPUB-W004 | table-missing-headers | warning | 1.3.1 |
| EPUB-W005 | ambiguous-link-text | warning | 2.4.4 |
| EPUB-W006 | color-only-info | warning | 1.4.1 |
| EPUB-T001 | incomplete-a11y-summary | tip | - |
| EPUB-T002 | missing-author | tip | - |
| EPUB-T003 | missing-description | tip | - |
To exclude EPUB-T002 and EPUB-T003 from all scans:
{
"epub": {
"enabled": true,
"disabledRules": ["EPUB-T002", "EPUB-T003"],
"severityFilter": ["error", "warning"]
}
}| Agent | Relationship |
|---|---|
| epub-accessibility | Reads this config during every ePub scan |
| document-accessibility-wizard | Invokes this agent during Phase 0 config setup |
- Accessibility Lead
- Web Accessibility Wizard
- Document Accessibility Wizard
- Alt Text and Headings
- ARIA Specialist
- Contrast Master
- Forms Specialist
- Keyboard Navigator
- Link Checker
- Live Region Controller
- Modal Specialist
- Tables Data Specialist
- Word Accessibility
- Excel Accessibility
- PowerPoint Accessibility
- PDF Accessibility
- Office Scan Config
- PDF Scan Config
- Testing Coach
- WCAG Guide