This is a selection of news items that have been published on https://webplatform.news between February 13 and February 25.
Mandy Michael: Use contrast-ratio.com to check if your text has sufficient contrast (Success Criterion 1.4.3). A value between 3 and 4.5 (orange result) is adequate only for large text (at least
Graham Armfield: The standard date picker control,
<input type="date">, is still not safe to use as part of an accessible website (the browser validation error messages aren’t announced in some screen readers).
Phil Walton: Fonts with thin strokes (e.g.,
font-weight: 300) can be hard to read on
1dppxscreens. You can use
min-resolutionmedia queries to limit thin fonts to high-pixel density screens.
Mike West: The HTTP
Sec-CH-Langheader is experimentally supported in Chrome Canary. Our goal is to replace
Accept-Languagewith an opt-in model “in order to reduce the passive fingerprinting surface we expose via HTTP requests.”
Rachel Andrew: The CSS Logical Properties module introduces new shorthands that enable setting both block or both inline values at once.
padding-inlineproperties can be used via the PostCSS Preset Env plugin.
Visit https://webplatform.news for the latest web development news.