-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focus breadcrumb on route change #5166
Focus breadcrumb on route change #5166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found one issue that I didn't think about before. This now steals the focus away from the nav directly after clicking in the left sidebar. As far as I understand this behaviour is only supposed to happen upon navigating within the file list or through the breadcrumbs.
df03cdc
to
831752a
Compare
Tried preventing it with what we discussed, checking if we're staying within the same route and only setting the focus on the last breadcrumb item if that's the case |
831752a
to
a833900
Compare
60f33d6
to
80afe21
Compare
a833900
to
365f650
Compare
365f650
to
dcbf119
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Description
Focus current active breadcrumb on route change and announce contents of current folder to screenreader