Public: anyone can read this; the crew can change it.
The looks run reports axe-core violations for each look in light and dark, and proves / renders whole without JavaScript, report-only #2970
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces #2941 (#2915 check 8). It waits on #2953, which brings the
Findingshape fromsrc/release/webspec.ts; the crew declined twice because that module was not on main.Done:
app.looks) also injects axe-core into each look, once withprefers-color-scheme: lightand once with dark, and records the violations asFindings ({ path, check: "axe:<rule>", message, section }), citing the specification.website accessibility section./with JavaScript disabled and records a finding if<main>is empty or the main heading is missing.src/server.tsor anything it loads. The pull says why it is needed (no zero-dependency equivalent).axe:labelfinding in each scheme; the no-JS render of a page that fills<main>from a script yields a finding.Files: the looks runner,
src/release/webspec.ts(the sharedFindingtype), a test. Risks: the looks run gets slower. Run axe once per look per scheme, and never on pages outsideapp.looks.