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

TieredMenu: Keyboard navigation does not skip non-visible menu items #15058

Closed
Nas3nmann opened this issue Mar 15, 2024 · 0 comments · Fixed by #15060
Closed

TieredMenu: Keyboard navigation does not skip non-visible menu items #15058

Nas3nmann opened this issue Mar 15, 2024 · 0 comments · Fixed by #15060
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Nas3nmann
Copy link

Describe the bug

When I use keyboard navigation in the TieredMenu component (arrow keys up/down), the items with visible: false are not skipped, resulting in non-visible active elements when they are selected.

Environment

NG17, latest primeng

Reproducer

https://stackblitz.com/edit/de3knh?file=src%2Fapp%2Fdemo%2Ftiered-menu-basic-demo.ts

Angular version

17.2.2

PrimeNG version

17.11.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Go to stackblitz example
  2. highlight the preview
  3. hit tab to enable keyboard navigation
  4. hit arrow down two times and see focus disappear (that's the non visible element)

Expected behavior

non-visible elements are skipped in keyboard navigation

@Nas3nmann Nas3nmann added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 15, 2024
@cetincakiroglu cetincakiroglu added this to the 17.12.0 milestone Mar 20, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@Nas3nmann @cetincakiroglu and others