Accessibility
What Automated Accessibility Testing Misses
Your site can pass an accessibility scan and still lose customers. A scan reads your code. It cannot tell you whether a visitor can finish an important task, like making a purchase. This post covers six problems that pass a scan but still cost you customers, such as product photos that are all called "product image" and a Pay button that runs off the screen when a customer zooms in. Each one has a simple fix. The post ends with six steps you can take this month.
AI Can Write Accessible Code. Can You Trust It?
AI can produce accessible code, but it sometimes ignores accessibility instructions, even when it claims to follow them. My experience shows why developers need to check the code themselves. Automated tests help, but accessibility expertise and testing with disabled people are still necessary. Organizations remain responsible for the accessibility of AI-generated code.
CSS
scroll-state()
The CSS scroll-state() query, surprisingly, has nothing to do with whether you’re doom-scrolling in a state of existential dread. It does, however, allow you to change the CSS used based on scrolling behavior.
Page Transitions are now easy: CSS View Transitions
You can now make a whole website feel much modern by adding one single line of CSS to it - make it for example cross-fade into the next page. CSS View Transitions make this possible which previously only worked by using a ton of JavaScript.
Lights Out - Live lighting without JavaScript
The lamp in this room moves every frame and every surface answers it, yet the page runs no script. c3r writes the lighting as CSS, and the browser does the maths.
The beauty of CSS mixins
CSS mixins let you reuse whole blocks of declarations, not just values. Here is how they work, and a Zen Garden-style experiment that uses them as theming extension points.
Motion Design with CSS Anchors
It sounds like a paradox, but CSS anchors, typically used to tether elements to one another, are even more practical when elements have to break free from their places.
Anchored elements can also free themselves from their anchors and move elsewhere when they attach to another.
We can use that to create waypoints for an element to travel through, resulting in a slick motion effect.
JavaScript
Galactica: Trace JavaScript and TypeScript imports, find the tests a change can affect, and explore the dependency graph
Galactica maps imports in JavaScript and TypeScript repositories. Browse the dependency graph in an offline HTML file, or use the CLI to find what a change affects and which tests cover it.
HTML-in-canvas experiments
Experiments and drop-in libraries built on the HTML-in-canvas API. A <canvas> draws live child elements in 2D, WebGL or WebGPU while they keep taking clicks, typing, text selection and accessibility.
JavaScript Gets a New Set of HTML Insertion APIs
Chrome is introducing a new set of HTML insertion and streaming methods that provide a more descriptive way to insert HTML into an existing element, along with the ability to stream content directly into the DOM.
What's new in Angular 22.3?
Angular 22.3 is the third minor release of the v22 cycle, with a focus on build performance, thanks to the work on the Rust-based compiler and a new library builder. It also brings router error boundaries, stricter template checks, and a few other goodies.
React Anatomy — 3D React component inspector
Explore React component trees in 3D and inspect live props. An open-source DevTools extension for Chrome and Firefox.
Maze-Maker - Generate square, circular, triangular, hexagonal, star and heart-shaped mazes with seven algorithms (backtracker, Prim, Kruskal, Wilson, hunt-and-kill, growing tree, Aldous-Broder)
Make a maze right in your browser: square, round, triangular, hexagonal, star or heart-shaped, with long winding corridors or a thicket of short dead ends. Then find your way through it with the arrow keys or a finger, or watch the solution draw itself, and save it as an SVG or a PNG, or print it. No sign-up and no libraries.
The pages are plain HTML, CSS and JavaScript, with no dependencies and no build step. Just open index.html. It is also a small installable web app: add it to your home screen or desktop and it works offline.
- The maze is one SVG, and all the geometry, the algorithms and the app logic are in js/maze.js.
- Three color themes (dark, light and blue) are shared with my other projects.
- Your settings are kept in the browser's local storage.
Demo maze here.
Which JavaScript table library should you use?
We built the same table nine times: eight libraries and a plain <table>. We timed them from 1,000 to 500,000 rows, compared what each can do, and picked one for each job.
React Transitions, useDeferredValue and Suspense Explained
A deep dive into React concurrent rendering, update priorities, starvation prevention, and responsive interfaces.
UX
Button Sounds — tactile SFX for your UI
A free collection of 50+ professionally-recorded multi-sampled clicks and toggles. Distributed as an NPM package with optional React bindings
Miscellaneous
OpenScreen - Open-source screen recorder
Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
Chrome prerendering is weird
Here’s something I learned at work recently: when you type in Chrome’s address bar, Chrome may load the top suggestion in the background before you press Enter. It isn’t just a DNS lookup or a fetch of the HTML. The page is fully prerendered: JavaScript runs, and anything it writes to localStorage stays written, even if you never visit the page. This isn’t a bug: it’s documented behaviour, designed to make navigation feel instant.
browser-2027: Things you can do with a browser in 2027
It's almost 2027, and browsers can do amazing stuff. Again.
Seven years ago I created browser-2020 and listed things you could do with a browser in 2020. This is the sequel.
Same rules: a non-exhaustive list of less-known features implemented in browsers today. It isn't intended for a technical audience; it wants to be an "I didn't know we could do that in a browser!" list.