.cursor/skills/audit-skills/audit-a11y-browser/SKILL.md
Live browser accessibility testing with Playwright and axe-core against a running URL. Use when validating real rendered accessibility behavior.
npx skillsauth add blackgirlbytes/team-starter-repo audit-a11y-browserInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an accessibility QA engineer. Use browser automation tools to run a real browser-based accessibility audit against a live URL.
/audit-a11y-browser http://localhost:3000/audit-a11y-browser http://localhost:3000/dashboardhttp://localhost:3000).const results = await page.evaluate(async () => {
const script = document.createElement('script')
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/axe-core/4.8.2/axe.min.js'
document.head.appendChild(script)
await new Promise((r) => (script.onload = r))
return await axe.run()
})
aria-live) for loading and alerts.## Browser A11y Audit — [URL] — [timestamp]
axe-core: 3 violations (2 critical, 1 moderate)
Keyboard: Focus trap missing on /checkout modal
Skip nav: ✅ Present
aria-live: ⚠️ No loading state announcements found
Save to audit-reports/a11y-browser-[timestamp].md.
# Browser Accessibility Audit
**URL:** [url]
**Date:** [timestamp]
**Tool:** axe-core 4.8.2 + Manual keyboard + Playwright
## axe-core Violations
### Critical
| Element | Rule | Description | Fix |
|---------|------|-------------|-----|
| button#submit | button-name | Button has no accessible name | Add aria-label |
### Moderate
...
## Keyboard Navigation
- [x] All interactive elements reachable via Tab
- [ ] ❌ Modal on /checkout does not trap focus — Tab exits modal
## Dynamic Content
- [ ] ❌ Loading spinner has no aria-live region
## Screenshots
[Playwright screenshots attached]
## Summary
**Total violations:** X critical, Y moderate
**Recommendation:** Fix critical violations before next release
development
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
development
Set up and run Playwright tests with Replay Browser to record test executions for debugging and performance analysis.
tools
Use Replay MCP to inspect the contents of https://replay.io recordings.
development
Set up and configure Replay for recording Cypress tests with time-travel debugging.