-
Notifications
You must be signed in to change notification settings - Fork 6
Scan Configuration
github-actions[bot] edited this page Feb 23, 2026
·
2 revisions
Both Office and PDF scanning tools support project-level configuration files that control which rules are enforced.
File: .a11y-office-config.json
Expand Office configuration JSON example
{
"docx": {
"enabled": true,
"disabledRules": ["DOCX-W005"],
"severityFilter": ["error", "warning"]
},
"xlsx": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning", "tip"]
},
"pptx": {
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning"]
}
}File: .a11y-pdf-config.json
Expand PDF configuration JSON example
{
"enabled": true,
"disabledRules": [],
"severityFilter": ["error", "warning"],
"maxFileSize": 104857600
}Both config files are searched upward from the scanned file's directory. Use the office-scan-config and pdf-scan-config agents to generate configurations interactively.
Expand preset profile descriptions
The templates/ directory contains pre-built profiles:
| Profile | Office Config | PDF Config | Description |
|---|---|---|---|
| strict | office-config-strict.json |
pdf-config-strict.json |
All rules, all severities |
| moderate | office-config-moderate.json |
pdf-config-moderate.json |
Errors and warnings only |
| minimal | office-config-minimal.json |
pdf-config-minimal.json |
Errors only |
Quick setup with VS Code tasks:
Use A11y: Init Office Scan Config and A11y: Init PDF Scan Config from the command palette to copy a moderate profile into your project root.
Manual setup:
cp templates/office-config-moderate.json .a11y-office-config.json
cp templates/pdf-config-moderate.json .a11y-pdf-config.jsonSee templates/README.md for customization guidance.
- 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