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

The q-item within QMenu cannot be selected using the space key. #16107

Closed
Hiroshiba opened this issue Jul 22, 2023 · 1 comment · Fixed by qburst/quasar#4 or #16364
Closed

The q-item within QMenu cannot be selected using the space key. #16107

Hiroshiba opened this issue Jul 22, 2023 · 1 comment · Fixed by qburst/quasar#4 or #16364
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vite-plugin Bugs related to Vite usage with Quasar kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@Hiroshiba
Copy link

What happened?

The q-item within QMenu cannot be selected using the space key. However, selection is possible using the enter key.

What did you expect to happen?

When the space key is pressed, it should select the item in the same way as the enter key does.

Reproduction URL

https://codepen.io/Hiroshiba/pen/BaGPwqe

How to reproduce?

  1. Click on the menu.
  2. Repeatedly press the tab key to focus on any item.
  3. Press the space key.

Flavour

Vite Plugin (@quasar/vite-plugin)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@Hiroshiba Hiroshiba added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jul 22, 2023
@github-actions github-actions bot added area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vite-plugin Bugs related to Vite usage with Quasar labels Jul 22, 2023
@pdanpdan
Copy link
Collaborator

pdanpdan commented Jul 22, 2023

Do you have a source for this (something official)? Please specify it.
I mean for menu items being activated by space on web.

I think I found it:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/menuitem_role#keyboard_interactions

amal-qb added a commit to qburst/quasar that referenced this issue Sep 19, 2023
…nnot-be-selected-with-space-key

fix(ui): q-item within QMenu should be selectable using the space key (fix: quasarframework#16107)
rstoenescu pushed a commit that referenced this issue Oct 26, 2023
…fix: #16107) (#16364)

Fix: q-item in QMenu cannot be selected using the space key (#16107)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vite-plugin Bugs related to Vite usage with Quasar kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
2 participants