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

Focus cached on form submission #5351

Closed
nvaccessAuto opened this issue Sep 11, 2015 · 1 comment
Closed

Focus cached on form submission #5351

nvaccessAuto opened this issue Sep 11, 2015 · 1 comment

Comments

@nvaccessAuto
Copy link

Reported by mark_nr on 2015-09-11 14:50
After submitting a form to a page, and having the page reload, the focus is set to where it had been before the submit, and not to the top of the page.

NVDA seems to cache and re-use the focus position, no doubt thinking that the page has not really changed.

As a developer, I placed a new random string on the end of each submit url and that forced NVDA to set the focus to the top of the page correctly.

I can set up a test page for anyone if they would like to see it in action.

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2015-09-12 01:50
Directly, the focus is not being cached. We're caching the user's last position on the page, which indirectly causes the focus to be changed. Caching the user's last postion is necessary to ensure that navigating back and forward between pages, restoring a closed tab/window, etc. puts the user in the right position, which is a feature our users require and expect. Unfortunately, it does have the side effect you describe.
Changes:
Added labels: cantfix
State: closed

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

No branches or pull requests

1 participant