Dashboard: WCAG AA contrast for text on accent
tsk-0dg2tmp86gc1 open
Goal
Text on the accent colour meets WCAG AA (4.5:1) in light and dark theme.
Why
.ktw-pill.ktw-type and .ktw-search-scope a.ktw-on fail AA. Found in the maity#1286 M3 review by the integrator.
Scope
- New token for text on accent (e.g.
--ktw-on-accent), used by both selectors and any other accent-background text. - Document the contrast requirement for themes/embedders (Maity vendors the lib and may override tokens).
- Check: measured ratios for both themes in the PR description.
Release
Next dashboard release after 0.11.43, on Oliver's go.