Back to KB
Difficulty
Intermediate
Read Time
8 min

What is axe-core and Why It Powers Real Accessibility Audits

By Codcompass Team··8 min read

Engineering Defensible Accessibility Audits: A Rules-Based Approach

Current Situation Analysis

Accessibility compliance in modern software delivery is frequently treated as a post-launch validation step rather than a continuous engineering discipline. Teams routinely rely on runtime overlay widgets or lightweight browser scores, mistaking them for comprehensive audits. The industry reality is starkly different: automated testing can only reliably detect a specific subset of WCAG violations. Depending on application complexity, this typically covers 30% to 40% of potential issues. The remainder—contextual semantics, meaningful alternative text, reading order, and live region behavior—requires human evaluation.

This gap creates significant technical and legal exposure. Courts and compliance auditors increasingly demand dated, version-pinned reports with explicit failure evidence tied to specific DOM nodes and WCAG success criteria. Tools that obscure their underlying engine, rely on opaque AI scoring, or inject downstream JavaScript to mask markup deficiencies fail this standard. Runtime overlays cannot repair missing semantic roles, broken ARIA relationships, or structural heading violations. They operate after the browser has already parsed the source, often introducing focus management conflicts, autoplay audio, and additional ARIA noise that degrades assistive technology performance.

The industry standard has converged around transparent, DOM-walking rules engines. axe-core, maintained by Deque Systems under an MIT license, exemplifies this approach. As of version 4.9 (2024), it implements approximately 90 individual rules covering WCAG 2.0, 2.1, and 2.2 (Levels A, AA, AAA), plus Section 508 and best-practice checks. Rather than guessing, it evaluates rendered nodes against deterministic functions, returning structured outcomes: violations, needs-review, passes, or inapplicable. This transparency enables engineering teams to build reproducible compliance trails, prioritize remediation accurately, and separate automated detection from manual verification. The shift toward evidence-based auditing is no longer optional; it is the baseline for defensible accessibility programs.

WOW Moment: Key Findings

The following comparison illustrates why DOM-walking rules engines have replaced downstream overlays and lightweight browser scores in production compliance pipelines.

ApproachRule Coverage & TransparencyReproducibility & VersioningLegal/Audit ReadinessAutomation Scope
DOM-Walking Rules Engine (axe-core)~90 explicit rules, open source, WCAG-mapped tagsVersion-pinned, deterministic outputs, full audit trailNode-level evidence, dated reports, court-accepted30-40% of WCAG (structural, contrast, ARIA, labels)
Runtime Overlay WidgetsOpaque AI/heuristic injection, no public rule setNo versioning, dynamic DOM mutation, unrepeatableNo auditable report, frequently cited as insufficient in litigationMasks issues, does not fix markup, introduces new failures
Lightweight Browser Scores (Lighthouse/WAVE)Curated subset or lenient heuristics, partial coverageEngine drift possible, score-only output, limited node dataStarting indicator only, lacks detailed failure evidenceGood for quick checks, insufficient for compliance certification

Why this matters: Engineering teams that adopt version-pinned, rules-based scanning can generate defensible compliance artifacts, automate regression detection, and allocate manual review resources precisely

🎉 Mid-Year Sale — Unlock Full Article

Base plan from just $4.99/mo or $49/yr

Sign in to read the full article and unlock all 635+ tutorials.

Sign In / Register — Start Free Trial

7-day free trial · Cancel anytime · 30-day money-back