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

PanelMenu: Link items can't be opened with a keyboard (slot issue) #3553

Closed
MargaritaBusyginaCa opened this issue Jan 17, 2023 · 0 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@MargaritaBusyginaCa
Copy link

Describe the bug

When creating a custom menu with slots, it is not possible to open a link item with a keyboard (only a mouse click works).
This is an accessibility bug.
Related issue

Reproducer

https://codesandbox.io/s/purple-rgb-q5kuop?file=/src/PanelMenuDemo.vue

PrimeVue version

3.21.1

Vue version

3.x

Language

ALL

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to code example
  2. With the keyboard, open File -> New. You will see two link elements: Bookmark and Video.
  3. Try opening any of those two link elements with a keyboard

Screen Shot 2023-01-17 at 3 12 04 PM

Expected behavior

It is not possible to open a link element with a keyboard, only a mouse click works for link elements.

@MargaritaBusyginaCa MargaritaBusyginaCa added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 17, 2023
@mertsincan mertsincan self-assigned this Jan 18, 2023
@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 18, 2023
@mertsincan mertsincan added this to the 3.23.0 milestone Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants