You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on any of the link and observe the screen reader announcement and focus
Expected Behavior
Screen reader should announce tht title of the newly loaded page
Actual Behavior
Whenever we click on any route (<link>), the page title of the newly loaded page is not announced.
Also, the focus is set to somewhere randomly on the page.
The text was updated successfully, but these errors were encountered:
The page title is up to you, as there are different ways of defining that and triggering the update. Focus is also dependant on how you've set up your page and isn't something the library can infer as easily. I would recommend a layout route to centralize these things: https://reactrouter.com/en/main/start/concepts#layout-routes
What version of React Router are you using?
6.26.1
Steps to Reproduce
Expected Behavior
Screen reader should announce tht title of the newly loaded page
Actual Behavior
Whenever we click on any route (
<link>
), the page title of the newly loaded page is not announced.Also, the focus is set to somewhere randomly on the page.
The text was updated successfully, but these errors were encountered: