Chris Ashton

dai11y 18/03/2020

Your daily dose of a11y:

New media queries you need to know

  • Article by Kristofer Selbekk, suggesting several up-and-coming media queries you can use to cater for all users. There are some useful boolean ones: prefers-reduced-motion, prefers-reduced-data, prefers-reduced-transparency, prefers-contrast. But there are also some variable ones: light-level to accommodate people in bright sunlight or in bed at night, for example. Finally, a @custom-media keyword is coming, which could be used to script your own media queries, such as @media(--logged-in) or @media(--no-connection).

This daily dose of accessibility news and TLDR summary is brought to you by @ChrisBAshton. If you find these too frequent, try week11y or fortnight11y instead.

Loading...