Accessibility
How COMPOSE is tested, what conforms, and what does not.
Target. WCAG 2.2 Level AA for the derivation view, which is where students spend their time: the tree, the rule chooser, the term entry and the feedback. The surrounding pages are held to the same target but are tested less often.
What is tested, and how
Four scripts run against a local build of this site and are kept in the repository, so anyone can repeat them:
scripts/a11y-audit.py— axe-core 4.10.2 over five states of a live derivation (library, rule chooser open, term entry, rule refused, after a raise), plus probes for the keyboard route to Quantifier Raising, the dialog semantics of the chooser, the live regions and reduced motion.scripts/a11y-keyboard-walk.py— completes a whole worksheet, quantifier raising included, with zero pointer events.scripts/a11y-contrast.py— measures the rendered contrast of every derive-view text style in every palette.scripts/a11y-reflow.py— the four states at 320 px and at 200% zoom.
Last run 3 November 2026 against version 1.4.0, in Chromium 156 on Linux. Results: zero axe violations in all five states; the worksheet completes with the keyboard alone; every measured text style clears 4.5:1 in all four palettes and in the high-contrast theme; no clipping or page-level horizontal scrolling at either width.
What this means in practice
- Every step of a derivation can be done from the keyboard. Quantifier Raising, which used to need a drag, now also answers to R on a focused node, or a "Raise" entry in the rule chooser, and offers its landing sites to the arrow keys.
- Denotations and types are announced as words rather than symbols: "lambda x dot love of x and y", "type e to e to t".
- A refused rule says why in text, not only in red.
- Results are announced: a correct step politely, a refusal immediately.
- Every symbol can be typed in ASCII (
lambda,forall,exists,iota,->,<->,&,~), shown under each palette key, because the Ctrl shortcuts are reserved by some browsers. - Animation stops under the operating system's reduce-motion setting, and a high-contrast theme is available in Display, on by default if the system asks for more contrast.
Known gaps
- Screen readers have not been tested by a person. The markup is
built to a published 20-step script
(
compose/docs/A11Y-CHECKLIST.md) covering VoiceOver on macOS and iOS and NVDA on Windows, and the automated probes check that the announcements exist and carry the right urgency. Whether they are useful in sequence is not yet confirmed. - The tree is a diagram. It scrolls inside its own pane at narrow widths and at high zoom, which WCAG allows, but following a large derivation with a magnifier is still work.
- Roughly 660 contrast checks per run come back inconclusive rather than passing. Almost all are axe declining to judge single characters and mathematical symbols; the styles behind them are measured by hand in the contrast script.
- Worksheet content is authored by instructors. COMPOSE cannot guarantee that a particular worksheet's prose is accessible.
- The editor, the instructor dashboard and the reading view have not had the same pass as the derive view.
Feedback
Accessibility problems are bugs. Report one, with the browser and assistive technology you were using, to tom.stephen64@gmail.com or at github.com/Vrier/compose/issues.