๐Ÿงช Halytic Comprehensive Test Page

This page contains intentional accessibility violations to test all 16 Halytic fix types.

โš ๏ธ Testing Instructions:
  1. Scan this page: http://localhost:3001/test
  2. Check that "Fixable" pill count matches issue list count
  3. Click "Apply Quick-Fix" - should show 11 auto-fixable issues
  4. Manual fixes should show 5 high-risk issues separately
  5. 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

๐Ÿ”ง 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