Files
docker-agent/docs/js
Arnaud Héritier 53d19638ea ci(docs): scan both light and dark themes in the pa11y-ci gate
docs/.pa11yci.json listed 4 plain URLs with no theme setup, so the
scan only ever exercised whichever theme the headless browser
initializes by default -- observed locally to be light, meaning the
gate never actually looked at dark mode.

Add a ?theme=light|dark query param that js/app.js's initTheme()
honors ahead of localStorage/prefers-color-scheme, and list each of
the 4 scanned pages twice in .pa11yci.json, once per theme (8 URLs
total). This makes the both-theme scan deterministic regardless of
the browser's default color scheme, rather than depending on it.
2026-07-16 16:22:12 +02:00
..