๐งช Halytic Comprehensive Test Page
This page contains intentional accessibility violations to test all 16 Halytic fix types.
โ ๏ธ Testing Instructions:- Scan this page:
http://localhost:3001/test - Check that "Fixable" pill count matches issue list count
- Click "Apply Quick-Fix" - should show 11 auto-fixable issues
- Manual fixes should show 5 high-risk issues separately
- Test "Verify Now" to confirm fixes work
โ
LOW-RISK (4 rules) - CSS/JS Auto-Fixable
1๏ธโฃ focus-visible - Missing Focus Indicators
These elements should have visible focus indicators:
Link (no focus outline)๐ง Expected: Halytic will inject CSS for visible focus indicators
2๏ธโฃ skip-link - Missing Skip Navigation
This page has no skip-to-content link for keyboard users.
๐ง Expected: Halytic will inject skip-link via JavaScript
3๏ธโฃ color-contrast - Insufficient Contrast
This text fails WCAG AA (gray #999 on white = 2.8:1, needs 4.5:1)
๐ง Expected: Halytic will inject CSS to darken text/buttons
4๏ธโฃ link-underlines - Links Without Underlines
This paragraph has a link with no underline that's hard to distinguish.
๐ง Expected: Halytic will inject CSS to add underlines
โ ๏ธ MEDIUM-RISK (7 rules) - JavaScript Injection Auto-Fixable
5๏ธโฃ link-name - Links Without Text
Empty aria-label link๐ง Expected: Halytic will inject aria-label via JavaScript
6๏ธโฃ button-name - Buttons Without Text
๐ง Expected: Halytic will inject aria-label via JavaScript
7๏ธโฃ image-alt - Images Without Alt Text


๐ง Expected: Halytic will inject aria-label via JavaScript
8๏ธโฃ form-field-label - Form Fields Without Labels
๐ง Expected: Halytic will inject aria-label via JavaScript
9๏ธโฃ control-name - Custom Controls Without Names
Custom Button (no aria-label)
๐ง Expected: Halytic will inject aria-label via JavaScript
๐ aria-hidden-focus - Focusable Hidden Elements
Hidden but focusable link๐ง Expected: Halytic will remove aria-hidden or add tabindex="-1"
1๏ธโฃ1๏ธโฃ duplicate-id - Multiple Elements Same ID
First element with id="test-duplicate"
Second element with same id="test-duplicate"
Third element with same id="test-duplicate"
๐ง Expected: Halytic will generate unique IDs via JavaScript
โ HIGH-RISK (5 rules) - Manual Fixes Required (NOT Auto-Fixable)
1๏ธโฃ2๏ธโฃ heading-order - Skipped Heading Levels
This H4 skips H3 (bad hierarchy)
๐ Expected: Shows in "Manual Fixes Required" - needs HTML structure changes
1๏ธโฃ3๏ธโฃ landmark-one-main - Missing Main Landmark
This page has no <main> element
๐ Expected: Shows in "Manual Fixes Required" - needs <main> element added
1๏ธโฃ4๏ธโฃ landmark-unique - Duplicate Landmarks
๐ Expected: Shows in "Manual Fixes Required" - needs unique aria-label on each nav
1๏ธโฃ5๏ธโฃ region - Content Not in Landmarks
All content on this page is outside of proper landmark regions.
๐ Expected: Shows in "Manual Fixes Required" - needs semantic HTML structure
1๏ธโฃ6๏ธโฃ page-has-heading-one - Missing H1
Note: This page HAS an H1 at the top, so this test may not trigger.
๐ Expected: Shows in "Manual Fixes Required" - needs H1 element added