What the automated checks are
The snippets, the tutorial examples and the template sets on this site go through automated tests that we run ourselves. This page lists them, names the tools and versions, and says what they do not show.
Checks on snippets and tutorial examples
There are 36 snippets and 24 tutorial examples with a check record. Each record names the checks that passed for that item, the date (3 December 2026) and the Chrome version (143.0.7499.169). A record is written only when every check passed. The list below is made from those records, so it holds only checks that were run.
- Data and folder
- The item's data file is checked against its JSON Schema (Ajv), the folder name equals the slug, and the listed technologies agree with the files.
- Content rules
- The HTML, CSS, JavaScript and picture files are read (parse5, and a list of what the site does not allow) against the written content rules: size limits, no inline code, no addresses on other sites, no password field.
- XON checker
- The XON lint and attribute schema run on the markup together with its script, and a further test finds markup that calls a function the script never offers.
- Sandboxed frame, zero errors
- The item opens in real Chrome in its sandboxed frame under the frame's header policy, at 1440, 768 and 360 pixels wide, with no console error, no page error, no policy violation and no failed request.
- Strict page, zero errors
- The same item is served by a server that sends no headers, as an ordinary same-origin page under the strict policy in its own meta tag, with zero errors. This stands for pasting it into a strict site.
- No sideways scroll
- The page does not scroll sideways at 360, 768 and 1440 pixels wide.
- Reduced motion
- With the reduced-motion setting on, no animation that runs longer than 0.01 seconds is left running.
- Keyboard reach and focus outline
- Every visible interactive element is reached with the Tab key, and each shows an outline of 2 pixels or more with at least 3:1 contrast against what is behind it.
- Test steps
- Every block of the item's own test steps runs on a freshly loaded frame, and every accessibility note its author wrote has a step that proves it.
- Without JavaScript
- Where an item says it works without JavaScript, at least 60 percent of its text is visible with scripts off and there is no sideways scroll.
- Later date, other host name
- The item is loaded again with the clock set 400 days later and under another host name, and must give the same picture and make the same requests. Code that waits for a date, or behaves differently on the real site, shows up here.
- Preview picture
- The preview picture is generated, not drawn: 760 by 400 pixels, enough distinct colours, under 60 KB and byte-identical when made twice.
The release gate
Before a site or a template set is released, a script of ours called the release gate runs on every page of it. The pages of this site go through it, and the template sets go through it in its template-pack mode (see how it is made). It stops at the first group that fails. Its groups:
- Allow-list of files. Only the file types a static site needs; no scripts on the server side, secrets files, archives or source maps.
- Secret scan. Keys and tokens, e-mail addresses that are not allowed, local file paths and internal host names.
- Banned-claims scan. A list of patterns for claims the site must not make, such as certifications, invented audience numbers and star ratings. These are pattern matches and can miss new wording.
- XON checker. The XON lint and attribute schema on every page.
- Page basics. Title, description, language and viewport on every page; no inline script, event handler or style; every link, file and fragment resolves; no file from another site.
- Header policy. The Content-Security-Policy in the site's header file is strict (no unsafe-inline, no unsafe-eval, no wildcard, no other site). Any exception is written in the gate's configuration with its reason and is listed in its report.
- Real Chrome load. Each page loads in Chrome from a private server that sends exactly those headers: no console error, page error, policy violation, failed or 4xx request, and no request outside the folder.
- Scroll and contrast. No sideways scroll at 360, 768 and 1440 pixels; text contrast of at least 4.5:1 (3:1 for large text), in the light scheme and, where a page has one, the dark scheme, measured for text on flat colours.
- axe-core. Rules tagged WCAG 2.0, 2.1 and 2.2 level A and AA, run on every page.
- Parse errors. HTML parse errors found by parse5.
Tools and versions
| Tool | Version |
|---|---|
| Google Chrome (the only browser used) | 143.0.7499.169 |
| Playwright (playwright-core) | 1.65.2 |
| axe-core | 4.10.2 |
| parse5 | 8.1.1 |
| Ajv | 8.20.0 |
| XON release (lint and attribute schema) | 2.1.2 |
What the checks are not
This is the site's own automated test. It is not a certificate, not a security audit and not a statement of accessibility conformance. It says nothing about browsers other than the Chrome named above, nothing about screen readers, and nothing about whether a snippet is good.
What the tests cannot show: how an item behaves in a screen reader, in another browser, in a state the scripted steps never reach, or on a device that was not tried. Text contrast is measured for text on flat colours; text over a picture or a gradient is not judged. The claims scan is a list of patterns and can miss new wording.
The snippets are written with AI tools and checked by the tests listed above.