# Combined Track A, B & C Cross-Check Verification Prompt for Cursor Agent ## Task Perform automated code quality, accessibility, and integration verification for **all three tracks** (Track A, B, and C) implementation (G24, G42, G41, G57, G58, G59, G60, G48, G49, G26). ## Context - Branch: `claude/ux-tranche3-feedback-accessibility-polish-015W99syFQ7b9HrV2WoB9S48` - This is UX-TRANCHE3, a structured multi-track feature implementation - Previous implementation: Polish Sprint (Tranche 2) with Toast, Loading, Form Validation - All code should meet WCAG 2.2 Level AA accessibility standards --- ## Files to Verify ### TRACK A: Advanced Feedback Patterns #### G24: Confirmation Dialogs - [ ] `web/templates/components/confirmation-dialog.html` (48 lines) - [ ] `web/static/css/dialog.css` (185 lines) - [ ] `web/static/js/dialog.js` (182 lines) - [ ] Integration in `templates/home.html` #### G42: Skeleton Loading - [ ] `web/templates/components/skeleton.html` (35 lines) - [ ] `web/static/css/skeleton.css` (197 lines) #### G41: Enhanced Error States - [ ] `templates/404.html` (43 lines) - [ ] `templates/500.html` (41 lines) - [ ] `templates/network-error.html` (51 lines) - [ ] `web/static/css/error-page.css` (344 lines) --- ### TRACK B: Accessibility Infrastructure #### G57: Skip Links - [ ] `web/templates/components/skip-link.html` (6 lines) - [ ] `web/static/css/skip-link.css` (73 lines) - [ ] Integration in all major pages #### G58: Focus Management System - [ ] `web/static/js/focus-manager.js` (269 lines) - [ ] Integration in interactive pages #### G59: Landmark Regions - [ ] `docs/accessibility/landmark-regions.md` (284 lines) #### G60: Color Contrast Audit - [ ] `docs/accessibility/color-contrast-audit.md` (386 lines) --- ### TRACK C: Micro-Interactions & Polish #### G48: Page Transitions - [ ] `web/templates/components/page-transition.html` (12 lines) - [ ] `web/static/css/page-transitions.css` (180 lines) - [ ] `web/static/js/page-transitions.js` (195 lines) - [ ] Integration in all major pages #### G49: Hover & Focus States - [ ] `web/static/css/hover-focus-states.css` (445 lines) #### G26: Spacing System - [ ] `web/static/css/spacing.css` (365 lines) - [ ] `docs/design/spacing-system.md` (320 lines) --- ### Documentation & Validation - [ ] `docs/track-a-validation.md` - Track A validation report - [ ] `docs/track-b-validation.md` - Track B validation report - [ ] `docs/track-c-validation.md` - Track C validation report --- ## Verification Checklist ### 1. File Structure & Creation (All Three Tracks) ```bash # Verify all files exist find web/templates/components web/static/css web/static/js templates docs/accessibility docs/design -type f | sort ``` - [ ] All 27 files from Track A, B, and C exist - [ ] No empty or truncated files - [ ] All files have proper newlines at EOF --- ### 2. Code Syntax Validation #### JavaScript ```bash # Check syntax for all three tracks node -c web/static/js/dialog.js node -c web/static/js/focus-manager.js node -c web/static/js/page-transitions.js ``` - [ ] dialog.js has valid syntax - [ ] focus-manager.js has valid syntax - [ ] page-transitions.js has valid syntax - [ ] No stray console.log statements (except intentional ones) - [ ] No syntax errors in CSS files #### HTML/Components - [ ] All HTML components are well-formed - [ ] No unclosed tags - [ ] Proper attribute quoting --- ### 3. TRACK A: HTML/Component Validation **confirmation-dialog.html**: - [ ] Has `role="alertdialog"` with ARIA attributes - [ ] `aria-modal="true"`, `aria-labelledby`, `aria-describedby` present - [ ] `aria-hidden="true"` on initialization - [ ] Close button with `onclick="Dialog.cancel()"` - [ ] Two action buttons: Cancel and confirmation button **skeleton.html**: - [ ] Has 5 distinct skeleton variants - [ ] All elements have `aria-busy="true"` and `aria-label` - [ ] Proper class names for CSS targeting **404.html, 500.html, network-error.html**: - [ ] Proper DOCTYPE and HTML structure - [ ] Include `/static/css/error-page.css` and `/static/css/base.css` - [ ] Have `
` element with proper role - [ ] Heading hierarchy correct (h1 for title, h2 for sections) - [ ] Navigation buttons are semantic `` or `