Detecting Windows High Contrast Mode for New and Old Browsers

There was a good post by Scott O’Hara last Thursday on how to detect Windows High Contrast mode in JavaScript and CSS. The most straight forward way to do this is to use their media queries in CSS (forced-colors: active and prefers-color-scheme: dark, respectively). While the media query for forced-colors works well with all modern… Continue reading Detecting Windows High Contrast Mode for New and Old Browsers

Automated accessibility tools don’t catch HTML parsing errors

It would save a lot of time in the day of an accessibility practitioner if automated tools could catch more accessibility errors. However, I think it’s a reasonable assumption that they should catch errors with incorrect nesting of HTML or ARIA. Unfortunately this is not the case, and Adrian Roselli has a nice breakdown with tests on his blog:

Developers who build a broken thing, but do not have the necessary testing or even standards experience might rely on automated tools and produce problematic content as a result.

Source: Beware False Negatives | Adrian Roselli

Published
Categorised as General

Accessibility and Progressive Enhancement

Thinking with a progressive enhancement mindset, that is starting with the most basic HTML features and enhancing with more advanced stuff, is in my opinion the best way to go about building inclusive, accessible websites. Jeremy Keith wrote about some accessibility feedback he got and how his originally robust code made the solution an easy… Continue reading Accessibility and Progressive Enhancement