Skip to content
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

fix: Reset focus after route #95

Closed
wants to merge 1 commit into from

Conversation

hidde
Copy link

@hidde hidde commented Dec 23, 2019

(This addresses #25 partly)

This returns focus back to , which, while not ideal, is what would happen in a non-SPA.

For users of screenreaders, I'd say this is better than doing nothing at all.

As I mentioned in #25, I see this as a first step, with the second step being a mechanism to move focus intentionally (and/or something that automates it, as found in Reach).

This returns focus back to <body>, which, while not ideal, is what happens in a non-SPA.
@SteelCrow
Copy link

Any progress?

@krishnaTORQUE
Copy link
Collaborator

Hi
I forked svelte-routing > https://github.com/krishnaTORQUE/svelte-routing-next.
And I merged your PR there.
Please let me know if you have any query.
Thanks.

@krishnaTORQUE
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants