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.
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
Clouds and Ice
Getting into Night Sky Photography
Since a child, I’ve been a space nerd. Go and ask 14-year-old me about space and he could tell you a whole lot about black holes, quasars and quantum mechanics. Weirdly enough this interest in space did not extend to observing the actual night sky that much. Possibly this was because most of the time… Continue reading Getting into Night Sky Photography