This prompt runs a Lighthouse accessibility audit and provides a report centered on the accessibility score (0-100) as the primary metric. It includes a breakdown of failing audits sorted by score impact, manual review guidance, and a score improvement roadmap with effort tiers.Best for: Score-focused audits, tracking accessibility metrics, understanding what Lighthouse specifically detects.
Consider complementing with axe-core or Pa11y for issues Lighthouse does not cover.
## Lighthouse vs Full Audit| Aspect | `lighthouse-audit` | `full-accessibility-audit` ||--------|-------------------|---------------------------|| **Tools used** | Lighthouse only | axe-core + Pa11y + Lighthouse || **Focus** | Score and Lighthouse-specific audits | Comprehensive WCAG coverage || **Primary metric** | Accessibility score (0-100) | Issue count and severity || **Best for** | Score tracking, Lighthouse insights | Compliance reviews, major releases || **Speed** | Faster (single tool) | Slower (three tools) |<Tip> Use this prompt when you need to **track score trends** over time or understand **Lighthouse-specific recommendations**.</Tip>## When to Use| Scenario | Recommended ||----------|-------------|| Track accessibility score over time | ✅ Yes || Understand Lighthouse-specific results | ✅ Yes || Quick score check during development | ✅ Yes || Comprehensive compliance audit | Use `full-accessibility-audit` instead || Improve score toward a specific target | Use `lighthouse-score-improvement` instead || Deployment gate decision | Use `pre-deploy-check` instead |## Understanding the Score<AccordionGroup> <Accordion title="How Lighthouse Calculates the Score"> The accessibility score is a weighted average of audit results: - Each audit has a weight based on impact - Failed audits reduce the score - Some audits are informational only - Manual audits don't affect the score </Accordion> <Accordion title="What a Good Score Means"> - **90-100**: Good - Automated checks pass, but manual testing still required - **50-89**: Needs improvement - Several automated issues detected - **0-49**: Poor - Critical accessibility problems found </Accordion> <Accordion title="Score Limitations"> - Only covers ~30% of WCAG issues - Cannot detect semantic or context problems - Manual testing is essential - Score is not a compliance guarantee </Accordion></AccordionGroup>## Technical DetailsThis prompt internally executes:```typescriptanalyze-with-lighthouse({ url: "<your-url>", options: { wcagLevel: "AA" }})
Lighthouse runs in a headless browser and may take 10-30 seconds depending on page complexity and network speed.