Skip to content

What to do with focus after page transition? #19963

Answered by kyleboss
balazsorban44 asked this question in Help
Discussion options

You must be logged in to vote

Good question! So a couple of years ago, Marcy Sutton conducted user-testing to decide what the best behavior would be for scenarios regarding client-side routing & focus like the one you mentioned. Read more here: What we learned from user testing of accessible client-side routing techniques with Fable Tech Labs.

The tl;dr; of the findings regarding focus focus for screen readers (not necessarily all assistive technologies are these:

  • "resetting focus to the top of the app would be very overwhelming" (This is why focusing on the logo might not give the best UX)
  • "Focusing on a wrapper element for new content worked okay"
  • "Focusing on a heading was found to be the best experience"

For Nex…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by balazsorban44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants