Accessibility·Intermediate·Conceptual·1 min read
How should focus work after client-side navigation?
Short interview answer
Users need confirmation that page context changed. Depending on the router and product, move focus to the page heading or a route-announcement target and update the document title, while avoiding unexpected focus movement for in-page state changes.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.