fix(a11y): off switches and empty checkboxes reach 3:1 with Accessibility Mode on (#35466)

This commit is contained in:
G30 authored and GitHub committed 2026-12-02 19:56:27 +04:00
1 parent 80212d2d01
commit 2fcebf22f8
3 files changed
+21 -5

No files matched your search

+4
View File
@@ -1063,6 +1063,10 @@ html.high-contrast.dark
background-color: var(--color-base-800) !important;
}
html.high-contrast:not(.dark) input[type='checkbox']:not(:checked) {
border-color: var(--color-base-600);
}
/* Accessibility Mode: the lightest muted pair, 1.58:1 in light and 2.14:1 in dark.
text-base-400/70 is an icon colour, so 1.4.11 governs it, and 2.07:1 misses that too. */
@layer utilities {