---
title: "1. The interface glance matches · glance"
description: "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…"
canonical: "https://glance.avarok.net/docs/design/01-interface/"
lastmod: "2026-11-29T20:35:25Z"
tokens: 883
---

1. [Docs](https://glance.avarok.net/docs/)
2. [Design](https://glance.avarok.net/docs/design/)

# 1\. The interface glance matches

@avarok/glance@0.1.0·Updated 2026-11-29·1 min read·[View as markdown](https://glance.avarok.net/docs/design/01-interface/index.md)

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](https://github.com/Avarok-Cybersecurity/glance/blob/HEAD/docs/spec/SOURCES.md)). This chapter fixes which parts of it glance matches and in what order. Per-member status: [COMPAT.md](https://glance.avarok.net/docs/compat/).

## 1.1 Entry points

- npm package `@avarok/glance`, exporting the same object shape as the reference's CommonJS/ESM entry: the `axe` namespace with `source` added (spec/api-reporters.md).
- `glance.js` / `glance.min.js` and the aliases `axe.js` / `axe.min.js`: one script that defines `window.axe` when 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`, `data` shapes and `messageKey` values (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`, check `message`, `failureSummary`) are glance's own English text. Their placeholders take the same `data` fields, so custom locales written for the reference's message structure apply unchanged.
- `testEngine` names glance. `axe.version` stays at the interface level, `4.14.1`.
- Rules outside the MVP are absent until built (COMPAT.md).

## 1.4 Matching order

1. `run`/`getRules`/`configure`/`reset` and the v1 results object, with three simple rules.
2. The shared facts (roles, names, visibility, focus, language).
3. The 70 MVP rules, the geometry rules last.
4. Frames (`runPartial`/`finishRun`, messenger), reporters, plugins, `utils`, `commons`.

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@id": "https://thomaspbraun.com/#person",
      "@type": "Person",
      "name": "Thomas Braun",
      "sameAs": [
        "https://github.com/tbraun96",
        "https://x.com/tbraun96"
      ],
      "url": "https://thomaspbraun.com",
      "worksFor": {
        "@type": "Organization",
        "name": "Avarok",
        "url": "https://avarok.net"
      }
    },
    {
      "@id": "https://glance.avarok.net/docs/design/01-interface/",
      "@type": "WebPage",
      "author": {
        "@id": "https://thomaspbraun.com/#person"
      },
      "dateModified": "2026-11-29T20:35:25Z",
      "description": "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…",
      "inLanguage": "en",
      "isPartOf": {
        "@id": "https://glance.avarok.net/#website",
        "@type": "WebSite",
        "name": "glance",
        "url": "https://glance.avarok.net/"
      },
      "name": "1. The interface glance matches · glance",
      "url": "https://glance.avarok.net/docs/design/01-interface/"
    }
  ]
}
```
