Low-vision users often turn on 'increase contrast' in macOS or Windows accessibility settings to make faint borders and light gray text more solid. `@media (prefers-contrast: more)` detects that setting in CSS, letting a subtly-styled border or text turn noticeably firmer just for the users who need it.
There's also `prefers-contrast: less`, though browser support is thinner. This media query isn't itself a WCAG success criterion — it's a user-environment feature, layered on top of the baseline you should already be meeting with something like 1.4.3 Contrast (Minimum).
The demo cycles one card between `no-preference` (default, faint border) and `more` (thicker border, bolder text), showing which value is currently 'active.'
When to use
If your design tokens set --line or --muted to a low-contrast value, consider overriding just those under prefers-contrast: more. Meeting a sufficient baseline contrast (4.5:1) in the first place still comes first.