Frontend & UX trend radar, every day
← All experimentsFrontend & UX/UI trend radar
Next.js 16.5 speeds up its builds, the HTMHell advent calendar brings two lessons on forms and accessible canvas, and a CSS trick to keep the fallback font from breaking headings.
Next.js 16.5: faster builds
Next.js 16.5 shipped on 2 December. On Vercel's dashboard, cold Turbopack compilation is about 4.2 times faster than in 16.4.6 and uses 38% less memory, and functions with 'use cache: remote' can reuse their cache across deployments when their code has not changed. Experimental additions include Go route handlers (route.go) and a safe mode for image optimization.
Enter in an IME should not submit
In the HTMHell advent calendar (3 December), mehm8128 explains why confirming Japanese or Chinese text with Enter can submit a form: keydown also fires during composition. The fix is to check event.isComposing and also keyCode === 229, because Safari fires compositionend first and WebKit's fix is still switched off.
Accessible canvas with fallback HTML
In HTMHell (2 December), Rhiana Heppenstall describes how Reading Eggs made thousands of canvas activities accessible without rewriting them: native HTML with buttons, headings and aria-live placed right after the canvas, because inside it did not work in Safari. Testing so far was mainly with VoiceOver; sessions with screen reader users are still to come.
Tuning the fallback font
On 2 December Geoff Graham suggested in CSS-Tricks registering the system font with @font-face, local() and size-adjust so headings don't come out huge if the variable web font fails to load. Caveat: a comment the same day warns that local("system-ui") seems to work only in Chromium, not in Firefox.