Report Formats¶
agent-a11y supports multiple output formats for different use cases.
JSON¶
Machine-readable format for CI/CD integration and programmatic processing.
Structure:
{
"url": "https://example.com",
"wcagVersion": "2.2",
"wcagLevel": "AA",
"score": 85,
"conformant": false,
"stats": {
"totalPages": 1,
"totalFindings": 5,
"critical": 0,
"serious": 2,
"moderate": 2,
"minor": 1
},
"pages": [...],
"findings": [...]
}
HTML¶
Interactive HTML report for stakeholders and manual review.
Features:
- Sortable/filterable findings table
- Expandable issue details
- Screenshot annotations
- Summary dashboard
Markdown¶
Text-based format for documentation and version control.
VPAT 2.4¶
Voluntary Product Accessibility Template for procurement and compliance documentation.
Includes:
- Product information
- WCAG 2.x conformance table
- Success criteria evaluation
- Remarks and explanations
WCAG-EM¶
W3C Website Accessibility Conformance Evaluation Methodology format.
Follows:
- WCAG-EM 1.0 specification
- Evaluation scope definition
- Sample selection documentation
- Audit results
CSV¶
Spreadsheet-compatible format for data analysis.
Columns:
- URL, Rule ID, Description, Impact, Level
- Element, Selector, HTML snippet
- Success Criteria, Help URL