9 min read
Focus States That Survive a Redesign: A Keyboard-First Checklist
Redesigns silently break focus states; I run a 6-point check before every ship
The Lab · Written in the open · Tagged frontend
Working notes from the studio. The tools I build, the workflows I keep, the mistakes I paid for.
9 entries · latest 2026-10-18
Latest entry
Optimistic UI shows the result in under 16ms, before the server replies Keep the old value stashed so rollback is a one-line restore Show a specific error on failure, not a silent revert Retry with backoff beats a dead button...
Read the entryAll entries · frontend
9 min read
Redesigns silently break focus states; I run a 6-point check before every ship
8 min read
I fired 25 keystrokes and 60 scroll events at both in Node and counted the calls, then caught…
9 min read
One error boundary per widget, not one per page, keeps failures local
9 min read
Optimistic UI updates before the server confirms feel instant to users
9 min read
Six :has() selectors deleted roughly 240 lines of JS across my sites
8 min read
Cart drawer refresh swaps one section in 180ms instead of reloading the full PDP at 1.2s.
8 min read
I cut 11 Webpack plugins down to 6 Vite plugins and dev startup dropped from 4.2s to 0.8s
2 min read
Radar sweeps, HUD effects, floating labels. All pure CSS, zero dependencies, 60fps.