Skip to main content
AccessibilityHub provides five analysis tools, each designed for specific accessibility testing needs. Use them individually for focused analysis or combine them for complete coverage.

Available Tools

analyze-with-axe

Comprehensive WCAG testing using axe-core with detailed violation reports

analyze-with-pa11y

Standards-based validation using Pa11y and HTML CodeSniffer

analyze-with-lighthouse

Google Lighthouse accessibility scoring (0-100) and deployment gates

analyze-contrast

Dedicated color contrast analysis with WCAG 2.1 and APCA support

analyze-mixed

Combined analysis with multiple engines for maximum coverage

Choosing the Right Tool

analyze-with-axe

Best for: Comprehensive WCAG 2.0/2.1 compliance checking
Low false positive rate
Detailed fix suggestions with human context
ARIA and semantic HTML analysis
Industry-standard tool by Deque
Use when you need:
  • Complete WCAG compliance reports
  • Actionable remediation guidance
  • Reliable results for production audits

analyze-with-pa11y

Best for: WCAG 2.1 AA/AAA and Section 508 validation
Multiple accessibility standards
HTML CodeSniffer-based analysis
Catches issues axe-core might miss
Flexible standard selection
Use when you need:
  • Section 508 compliance (government sites)
  • WCAG 2.1 AAA level validation
  • Alternative perspective from HTML CodeSniffer

analyze-with-lighthouse

Best for: Accessibility score tracking and deployment gates
Quantitative score (0-100)
Lighthouse-specific audits
Score-based deployment gates
Progress tracking over time
Use when you need:
  • A single accessibility score
  • Minimum score thresholds for CI/CD
  • Lighthouse-specific checks (font-size, tap-targets, meta-viewport)
  • Tracking improvements over time
Lighthouse requires a live URL — raw HTML analysis is not supported.

analyze-contrast

Best for: Specific color contrast analysis
WCAG 2.1 contrast ratios
APCA (WCAG 3.0 draft) algorithm
Text size and weight awareness
Suggested color fixes with CSS
Use when you need:
  • Detailed contrast analysis
  • Comparison between WCAG 2.1 and APCA
  • Specific color fix recommendations
  • Visual accessibility validation

analyze-mixed

Best for: Complete accessibility overview with cross-validation
Runs multiple tools in parallel
Intelligent deduplication
Maximum issue coverage
Tool comparison insights
Use when you need:
  • Comprehensive analysis with all tools
  • Cross-validation between engines
  • Maximum confidence in results
  • To catch issues only one tool detects

Common Parameters

All tools share these common parameters:
url
string
required
URL of the page to analyze
html
string
Raw HTML content to analyze (alternative to URL)
Not supported by analyze-with-lighthouse — Lighthouse requires a live URL.
options.browser.waitForSelector
string
CSS selector to wait for before analysis (useful for SPAs)
options.browser.waitForTimeout
number
Milliseconds to wait before analysis (max 60,000ms)
options.browser.viewport
object
Viewport dimensions

Tool Comparison

Featureaxe-corePa11yLighthouseContrastMixed
HTML input
Accessibility score
WCAG standards2.0/2.12.0/2.12.12.1/3.02.0/2.1
Section 508
False positivesFewModerateFewNoneFew
Avg duration~2-3s~2s~8s~1s~3s
Color contrastBasicBasicBasicAdvancedBasic
Suggested fixes

Getting Started

1

Choose your tool

Select the tool that best matches your testing needs from the comparison above.
2

Run analysis

Use natural language prompts or structured JSON input to run your analysis.
Analyze https://example.com with axe-core
3

Review results

Get detailed issues with WCAG criteria, severity levels, and remediation guidance.
4

Fix and re-test

Apply suggested fixes and re-run the analysis to verify improvements.

Next Steps

analyze-with-axe

Start with axe-core for comprehensive WCAG testing

analyze-mixed

Run all tools together for maximum coverage

Prompts

Explore pre-built prompts for common workflows

Resources

Access WCAG criteria and audit catalogs

Build docs developers (and LLMs) love