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

Closing popup always focuses the feature closest to the center #637

Closed
Malvoz opened this issue Dec 18, 2021 · 0 comments · Fixed by #638
Closed

Closing popup always focuses the feature closest to the center #637

Malvoz opened this issue Dec 18, 2021 · 0 comments · Fixed by #638
Labels

Comments

@Malvoz
Copy link
Member

Malvoz commented Dec 18, 2021

Closing a popup focuses the feature in the center as opposed to the corresponding feature of that popup (due to #596?).

https://maps4html.org/experiments/screenreader/restaurants/:

  1. Tab (three times) to the Phucket Royal marker
  2. Press Enter or Space to open popup
  3. Press Esc to close popup

Expectation:
Phucket Royal marker is focused.

Result:
Sushi 88 marker is focused.

@Malvoz Malvoz added the bug label Dec 18, 2021
@Malvoz Malvoz changed the title Closing popup focuses previous feature Closing popup always focuses the feature closest to the center Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant