An off switch is nearly invisible in every light theme #308
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A switch (
.sw, the feed's Settings dialog, the Settings dialog) is a track invar(--raise)with avar(--line)border and a white knob (web/app.css:1141,:1143). Off, in a light theme, the track sits on a light card and the knob is white on a light track, so neither the switch nor its state reaches 3:1.Measured in Playwright with the off switch in a feed's Settings:
In the dark palettes the white knob carries it (7-13:1), and an on switch is the accent fill. Classic uses native checkboxes and is not affected.
Found in an interface review (2026-10-19). WCAG 1.4.11. Related: #305, the same
--lineborder on text fields.Fix: give the off track an edge that reaches 3:1, the same field-edge colour #305 adds, and give the knob a border or a darker shadow in light themes, with the pair added to
tests/contrast.js.Fixed in
6ec2c35: the switch track's edge is the new--field(#305), 3:1 or more on every surface, and in light themes the white knob has a--fieldring. Deployed in ipx-web (1.2.1-dev).