A WebFront interface is a web page, so what assistive technologies see comes from the engine and from your markup. WebFront does not make a page accessible by itself.
axe-core (MPL-2.0) checks the rules of WCAG 2.1 A and AA that a program can
decide. Lock it beside Jasmine; nothing else is declared, and wf test loads it before the specs:
wf install jasmine-core@7.0.2 axe-core@4.10.3
wf testit('has no accessibility violation', async () => {
await expectAsync(document).toBeAccessible();
});
it('would catch a button without an accessible name', async () => {
const root = document.body.appendChild(document.createElement('div'));
root.innerHTML = '<button></button>';
await expectAsync(root).not.toBeAccessible();
root.remove();
});toBeAccessible takes a document or an element and, optionally, the options of axe.run; by default it runs the rules
tagged wcag2a, wcag2aa, wcag21a and wcag21aa. A failure names each rule, its description and the elements.
Without axe-core in the lock the matcher fails and says what to install. It needs an environment built from these
sources (1.3.2); the published 1.3.1 does not have it.
The app, life and store starters carry this spec (accessibility.spec.mjs), and wf init declares it in test.specs.
wf create prints what to install. In a project that already has a manifest, where wf init will not run again, it
declares the spec when there is no test entry, and otherwise says what to add to test.specs; before wf init, for
another destination than ui, it says what to declare.
A passing run is not a WCAG conformance statement: such checks find only a part of the problems, and say nothing of
the order of focus, the sense of a label or a keyboard trap. Rules axe cannot decide (incomplete, such as contrast
over a gradient or a canvas) do not fail the matcher.
| Interface | Check |
|---|---|
| Forms and tables generated from C++ descriptions (forms) | axe: no violation |
| Embedded fallback page | axe: no violation |
| Developer terminal, collapsed and floating, its tab menu, the inspector panels and their window | axe: no violation (developer_integration, part jasmine) |
app, life and store starters |
their own spec: no violation (same part) |
Host-loop, PTY and life/react examples |
fixed by review; not checked by axe |
| DOM islands | not checked: their content is the application's |
- The terminal tab is a button. Shift+F10 on it opens the menu, whose entries take the arrow keys, Enter and Escape.
- In the terminal, Tab completes and belongs to the terminal; Shift+Tab leaves it, so the keyboard is never trapped. The terminal runs in xterm's screen reader mode and its input is labelled.
- An inspector window takes the focus when it opens; Escape, in its bar or in its panel, closes it and gives the focus back to what opened it.
The tests send these keys as DOM events: they check what the page does with them, not how each engine moves the focus.
The MCP operation accessibility (grant inspect, automation) returns the roles, accessible names
and states of the running page, without what was typed in fields (an editable control is listed without its
content), bounded to 300 nodes and 30 000 bytes. It is computed by WebFront from the DOM and ARIA attributes,
with a simplified version of the naming rules: it is not the tree of the engine, and not what a screen reader says.
- Keyboard: every action reachable with Tab, Enter and Space; use
button,aand form controls rather than clickabledivs; keep the focus visible. - Names: every control has a label or
aria-label. A page that changes without a reload announces what matters in anaria-liveregion. - Contrast: 4.5:1 for text, 3:1 for large text and for the borders of controls.
- DOM islands driven from C++ (DOM): the roles and names are the elements and attributes your C++ creates.
Create a
buttonwith text oraria-label, and update a live region rather than replacing it.
| Frontend | Platform interface of the engine | Measured with WebFront |
|---|---|---|
| WebKitGTK | AT-SPI | the tree of a probe page, once (below) |
| WebView2 | UI Automation | no |
| WKWebView | NSAccessibility | no |
| CEF | the platform's; CEF turns accessibility on when a client asks | no |
| System browser | the browser's own | no |
The WebKitGTK measure was made by hand on 2026-12-05 with WebKitGTK 6.0 version 2.52.6 under Xvfb, by reading the AT-SPI
tree of a window of WebKitGTKFrontend from a private D-Bus session (not part of the test suite). It showed: the page as
document web named by its title, main as landmark, the heading, a labelled field as entry with its label, buttons
with their text or aria-label, an unnamed button with an empty name, a checked box as check box with its state,
role="status" as status bar, a canvas with role="img" as image with its label, and a button added by a script
after loading. No screen reader (Orca, NVDA, JAWS, VoiceOver) was run, so nothing is known here of what one reads out. The
other rows are what the engines document. Try your application with the screen reader of each platform you ship.