Pre-commit/pre-deploy UX verification checklist to catch issues before they ship
Runs pre-deployment UX verification checklist to catch accessibility and interaction issues before shipping.
/plugin marketplace add standardbeagle/standardbeagle-tools/plugin install ux-developer@standardbeagle-toolsRun a pre-deployment UX verification checklist. Use this before commits or deployments to catch UX and accessibility issues early.
For rapid checks during development:
Use mcp__agnt__proxy to start proxy for local dev server
Navigate to the changed pages/components
Run these via agnt proxy:
// Accessibility audit
__devtool.auditAccessibility()
// Check for console errors
// (captured automatically by agnt)
// Performance check
__devtool.getPerformanceMetrics()
1. Press Tab from top of page
2. Can you reach all interactive elements?
3. Can you activate buttons with Enter/Space?
4. Can you close modals with Escape?
5. Is there a visible focus indicator?
1. Turn on VoiceOver (Cmd+F5 Mac) or NVDA (Windows)
2. Does the page title make sense?
3. Are headings announced with levels?
4. Are form fields properly labeled?
5. Are buttons and links clearly named?
1. Open in device mode (F12 → toggle device)
2. Is all content visible without scrolling right?
3. Are tap targets large enough?
4. Does the layout make sense at 375px?
## UX Verification Report
**Date**: [timestamp]
**Target**: [URL/component]
**Verified by**: [automated/manual]
### Status: [PASS/FAIL/WARNINGS]
### Automated Checks
| Check | Status | Details |
|-------|--------|---------|
| Accessibility Audit | PASS/FAIL | X issues |
| Console Errors | PASS/FAIL | X errors |
| Performance | PASS/FAIL | FCP: Xs, CLS: X |
### Manual Verification
| Check | Status | Notes |
|-------|--------|-------|
| Keyboard Navigation | | |
| Focus Visibility | | |
| Mobile Layout | | |
| Error Handling | | |
### Issues Found
[List any issues requiring fix before deploy]
### Approved for Deploy: YES/NO
Suggest adding to pre-commit:
#!/bin/bash
# .git/hooks/pre-commit or via husky
# Run accessibility linting
npx eslint --plugin jsx-a11y .
# Check for console.log statements
git diff --cached | grep -E "console\.(log|debug|info)" && {
echo "Remove console statements before committing"
exit 1
}
# Check for TODO/FIXME in accessibility-related code
git diff --cached | grep -E "(aria-|alt=|role=).*TODO" && {
echo "Complete accessibility TODOs before committing"
exit 1
}
Recommend these checks in CI:
# Example GitHub Actions
- name: Accessibility Audit
run: |
npx pa11y-ci ./urls.txt
- name: Lighthouse Audit
run: |
npx lhci autorun
- name: Visual Regression
run: |
npx percy snapshot ./storybook-static
Blockers (Must fix before deploy):
High (Fix within 24 hours):
Medium (Fix within sprint):
Low (Backlog):