test(e2e): axe-core's WCAG A + AA rules over every page and the player (chromium only); contrast stays with the visual check
This commit is contained in:
@@ -45,6 +45,11 @@ login-free `/watch/<token>` share link).
|
||||
PW_BASE_URL=http://localhost:5173 siftlode e2e
|
||||
```
|
||||
|
||||
**Accessibility** — `a11y.spec.ts` runs axe-core's WCAG 2.x A + AA rules (`@axe-core/playwright`)
|
||||
over every rail page, every admin page and the player, in `chromium` only (the rules read the DOM,
|
||||
which the engines build alike). It does not judge colour contrast: axe files text on a gradient —
|
||||
every glass surface — as "incomplete", not as a pass or a hit.
|
||||
|
||||
## Account & fixture
|
||||
|
||||
Tests run as a dedicated **admin** account `e2e@siftlode.local` (never a real account;
|
||||
|
||||
Reference in New Issue
Block a user