~/talk

Exploring the Strange World of High Contrast Mode

Talkat HalfStack Charlotte 2023 · on Friday, 2023-04-28· [accessibility, web-platform]
links:none on file
slides:none on file

Windows High Contrast mode forced-colors: active aggressively replaces CSS colors, backgrounds, borders, box-shadows and many SVG fills, breaking color-only cues (GitHub loses syntax highlighting, Wordle becomes unusable). Fixes used: detect forced colors, swap to system colors for critical foreground/background, move a 2px transparent outline to focus/active, and use force-color-adjust: none only as last resort. Testing requires manual checks or DevTools emulation (Shift‑Cmd‑P → forced colors); about 3–5% of users browse with high contrast on.

AI-written summary · about

  1. 0:00Introduction to high contrast
  2. 1:03Entering high contrast mode
  3. 4:37Rules of high contrast rendering
  4. 7:27Designing for high contrast
  5. 11:41Force color adjust escape
  6. 12:03Case study Calcite Components
  7. 15:15Why support high contrast
  8. 16:17Testing high contrast support
  9. 17:42White high contrast mode
  10. 18:43CSS forced colors spec
  11. 19:03Q&A high contrast usage
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.