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

Dropdowns are not openable with enter key (toc/basemap-switcher and selection widget) #320

Open
3 tasks done
julkuh opened this issue May 24, 2024 · 0 comments
Open
3 tasks done
Assignees
Labels
bug Something isn't working good first issue A simple feature that can easily be implemented by new contributors.

Comments

@julkuh
Copy link
Contributor

julkuh commented May 24, 2024

Bug description

Steps to reproduce

When using either the basemap dropdown inside the toc widget or the selection topic dropdown inside the selection widget, it is not possible to open it via the Enter Key, which is a common key for opening dropdown (combobox-select-only pattern provided by WCAG)

  1. Focus via the TAB key one of the above mentioned dropdowns/selects
  2. Press the enter key

Expected behavior

Dropdown opens.

Current behavior

Nothing happens

Environment

Chrome, Windows, Screenreader off

Detailed information

There are other dropdowns inside open-pioneer widget s(e.g. printing), where it is possible to open them via Enter. I think its a problem or misconfiguration of the react select.

Logs

No response

Validations

@mbeckem mbeckem added bug Something isn't working good first issue A simple feature that can easily be implemented by new contributors. labels May 28, 2024
@mbeckem mbeckem changed the title Dropdowns are not openable with enter key (toc and printing widget) Dropdowns are not openable with enter key (toc/basemap-switcher and printing widget) Jun 5, 2024
@mbeckem mbeckem assigned mbeckem and artmarks and unassigned mbeckem Jun 28, 2024
@mbeckem mbeckem changed the title Dropdowns are not openable with enter key (toc/basemap-switcher and printing widget) Dropdowns are not openable with enter key (toc/basemap-switcher and selection widget) Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue A simple feature that can easily be implemented by new contributors.
Projects
None yet
Development

No branches or pull requests

3 participants