1. The interface glance matches
Reference: axe-core 4.14.1 (npm, MPL-2.0), the version installed on 2026-11-29.
The interface is specified in docs/spec/, written by separate spec agents from public documentation, standards and black-box runs (spec/SOURCES.md). This chapter fixes which parts of it glance matches and in what order. Per-member status: COMPAT.md.
1.1 Entry points
- npm package
@avarok/glance, exporting the same object shape as the reference's CommonJS/ESM entry: theaxenamespace withsourceadded (spec/api-reporters.md). glance.js/glance.min.jsand the aliasesaxe.js/axe.min.js: one script that defineswindow.axewhen evaluated in a page.@avarok/glance/axe.d.ts: declarations compatible with the reference's public types.
1.2 What "the same" covers
- Names, parameters, defaults, argument disambiguation and thrown error strings of every public member (spec/api-*.md).
- The results object: key order, ordering of rules, nodes and checks, impact roll-up, the
check lists on each node,
target/ancestry/xpath,datashapes andmessageKeyvalues (spec/results-*.md). - Rule ids, tags (in order), impacts, enabled-by-default flags and ACT ids (spec/rules-metadata.md).
1.3 What differs by design
- Human-readable strings (
description,help, checkmessage,failureSummary) are glance's own English text. Their placeholders take the samedatafields, so custom locales written for the reference's message structure apply unchanged. testEnginenames glance.axe.versionstays at the interface level,4.14.1.- Rules outside the MVP are absent until built (COMPAT.md).
1.4 Matching order
run/getRules/configure/resetand the v1 results object, with three simple rules.- The shared facts (roles, names, visibility, focus, language).
- The 70 MVP rules, the geometry rules last.
- Frames (
runPartial/finishRun, messenger), reporters, plugins,utils,commons.