Accessibility · Senior · Question 28 of 75
A Suspense fallback replaces the region that holds focus. What happens?
- 1The browser moves focus to the fallback automatically
- 2The focused node unmounts and focus falls back to
body - 3React keeps focus on the old node while it's hidden
Show the answer
Correct answer: The focused node unmounts and focus falls back to body
Explanation
Keep previous content during transitions, or restore focus after loading. Announce the loading state if it's long.