5 min read
WCAG color contrast ratio explained
How the WCAG contrast ratio is calculated, why 4.499 fails 4.5:1, what counts as large text and UI parts, and the colour pairs that fail most often.

Accessibility in interactive work: keyboard, screen readers, reduced motion and WCAG 2.2 in practice.
5 min read
How the WCAG contrast ratio is calculated, why 4.499 fails 4.5:1, what counts as large text and UI parts, and the colour pairs that fail most often.

3 min read
How Lab cards play a clip on hover while the page loads a 30 KB still: preload none, src on first hover, no clip on touch, Save-Data or reduced motion.

4 min read
How color-scheme and prefers-color-scheme work, how to avoid the flash of the wrong theme, and how this blog's own light and dark switch is built.

4 min read
What WCAG 2.2 success criterion 2.5.8 asks for, how the spacing exception works, and the small tag links that failed an accessibility audit on this blog.

3 min read
Most UI animations should last 100 to 500 ms. Durations for feedback, modals and page changes, when to use ease-out, and what I use on this site.

4 min read
Why a web page cannot read the sound of an embedded YouTube video, what getDisplayMedia can do instead, and how my audio visualizer falls back to a beat.

4 min read
What I learned running Lenis smooth scroll with GSAP on a static Next.js site: reduced motion, nested scroll areas, anchors and loaders that lock scroll.

3 min read
Page transitions with React's ViewTransition on a static export: an anchored header, enter and exit classes, reduced motion, and where it does nothing.

4 min read
How a skip to main content link meets WCAG 2.4.1, the HTML and CSS it needs, the mistakes that break it, and how to test it with the Tab key.
