≈ the.bay.news

J and K are the only keyboard shortcuts in our whole app, and the only two focus() calls are a heading and a panel

DEV Community
J and K are the only keyboard shortcuts in our whole app, and the only two focus() calls are a heading and a panel
A keyboard and focus audit of a Next.js app: two shortcuts in one component, five key handlers in 72,683 lines, two programmatic focus moves, 18 autoFocus occurrences of which four fire on first paint, and one hand-rolled dialog that takes focus without trapping it.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.