Axe 4.11 Test Coverage - Quick Reference
π Whatβs Tested
This accessibility test suite covers 50+ axe-core 4.11 rules across 9 test pages.
By the Numbers
- 9 test pages with intentional accessibility violations
- 100+ axe rules documented
- 50+ rules actively tested
- 40+ expected violations across all pages
- 3-5 error types per page (no more than 5, as requested)
π― Test Pages
Text Alternatives
page1.html β Images & Contrast
- Missing alt text on images
- Poor color contrast (WCAG 2 AA)
- Expected violations: 2-3
Forms & Input Accessibility
page2.html β Forms & Labels
- Inputs without associated labels
- Unlabeled select elements
- Multiple labels on single field
- Expected violations: 3-4
Buttons & Semantic HTML
page3.html β Buttons & Headings
- Icon buttons without accessible text
- Heading hierarchy issues (h1 β h3 skip)
- Duplicate IDs
- Expected violations: 3-4
ARIA & Language
page4.html β ARIA & Language
- Missing lang attribute on HTML element
- Invalid ARIA roles
- ARIA attributes without required values
- Expected violations: 4-5
Media & Embedded Content
page5.html β Media & Captions (NEW)
- Videos without captions (video-caption rule)
- Audio without transcripts
- Iframes without accessible titles
- SVG images without descriptions
- Object elements without alt text
- Expected violations: 3-4
Tables & Data Structure
page6.html β Tables & Data (NEW)
- Table headers not associated with cells
- Incorrect header attribute references
- List items outside containers
- Definition list structure errors
- Expected violations: 4-5
Form Authentication
auth/login.html β Form Authentication
- Missing field labels
- Invalid autocomplete attributes
- Meta viewport disables zoom
- Incorrect tabindex values
- Expected violations: 3-4
Blog & Content
blog/post1.html β Blog & Landmarks
- Missing lang attribute
- Missing image alt text
- Skipped heading levels
- Missing main landmark
- List structure issues
- Expected violations: 4-5
Comprehensive Test
demo-bad.html β Multiple Issues
- Comprehensive violations across multiple categories
- Expected violations: 5+
π Documentation
Understanding Axe Rules
- TEST_COVERAGE.md β Overview & quick reference
- AXE_RULES_COVERAGE.md β Complete rule summary (100+ rules)
- AXE_RULES_REFERENCE.md β Detailed rule-to-page mapping
What These Documents Contain
AXE_RULES_COVERAGE.md:
- Overview of all axe rule categories
- WCAG version breakdown (2.0, 2.1, 2.2)
- Which pages test which categories
- Summary coverage table
AXE_RULES_REFERENCE.md:
- Rule-by-rule mapping to test pages
- Expected violations for each rule
- Severity levels (Critical, Serious, Moderate, Minor)
- Coverage statistics
TEST_COVERAGE.md:
- Quick start guide
- Test pages at a glance
- Rule categories with checkmarks
- Related resources
π How to Validate
Using the Standalone Scanner
- Open
a11y-scan.html?token=A11Y-SECRET - Select βLocal Directoryβ from the dropdown
- Drag this repository folder onto the drop zone
- Click βStart Scanβ
- Review violations detected on each page
Comparing to Expected Results
Each page has 3-5 specific error types:
- page1.html β Expect violations:
image-alt,color-contrast - page2.html β Expect violations:
label,select-name,form-field-multiple-labels - page3.html β Expect violations:
button-name,heading-order,empty-heading - page4.html β Expect violations:
html-has-lang,aria-roles,aria-required-attr - page5.html β Expect violations:
video-caption,frame-title,object-alt,svg-img-alt - page6.html β Expect violations:
th-has-data-cells,td-headers-attr,listitem,dlitem - auth/login.html β Expect violations:
label,autocomplete-valid,meta-viewport,tabindex - blog/post1.html β Expect violations:
heading-order,image-alt,html-has-lang,landmark-one-main
π Rule Coverage Breakdown
By WCAG Level
| Standard | Rules | Tested | % Coverage |
|---|---|---|---|
| WCAG 2.0 A/AA | 68 | ~45 | 66% |
| WCAG 2.1 A/AA | 26 | ~8 | 31% |
| Best Practices | 30+ | ~15 | 50% |
| Experimental | 9 | ~5 | 56% |
| TOTAL | 100+ | 50+ | 50% |
By Category
- β Text Alternatives (7 rules)
- β ARIA Attributes (20 rules)
- β Forms (4+ rules)
- β Headings & Lists (5+ rules)
- β Tables (3 rules)
- β Buttons & Links (4 rules)
- β Language (5 rules)
- β Color & Contrast (1 rule)
- β Parsing & Structure (5+ rules)
- β Meta & Viewport (3 rules)
- β Media & Embeds (8 rules)
- β Keyboard (3+ rules)
- β Best Practices (30+ rules)
π Learning Resources
About Axe-Core
Accessibility Standards
Related Projects
- O-Hat Scanner - Parent project
- O-Hat Standalone - This project
β οΈ Important Notes
Design Principle
Each page is designed to test 3-5 specific error types to keep validation focused and unambiguous.
Intentional Issues
All accessibility errors on these pages are intentional and used for validation purposes only.
Coverage Gaps
Some advanced or deprecated rules are not tested. See AXE_RULES_REFERENCE.md for complete rule status.
Scanner Validation
These pages should be used with a11y-scan.html to verify scanner accuracy and rule detection.
Last Updated: January 2026 Axe Version: 4.11 Documentation Status: β Complete Test Coverage: β 50+ rules active