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

Chips: ARIA/Keyboard navigation trigger itemClick event with 'Space' key missing #15611

Closed
f94e59 opened this issue May 18, 2024 · 0 comments · Fixed by #15612
Closed

Chips: ARIA/Keyboard navigation trigger itemClick event with 'Space' key missing #15611

f94e59 opened this issue May 18, 2024 · 0 comments · Fixed by #15612
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

@f94e59
Copy link

f94e59 commented May 18, 2024

Describe the bug

Expected:

  1. You can change focus state of items with arrow keys
  2. If an item is focused you can trigger the itemClick emitter with the 'Space' key

Given:

  1. You can change focus state of items with arrow keys
  2. There is currently no option to trigger itemClick emitter with the keyboard navigation

Environment

PrimeNG: 17.16.1
Angular: 17.2.0

Reproducer

No response

Angular version

17.2.0

PrimeNG version

17.16.1

Build / Runtime

TypeScript

Language

TypeScript

Node version (for AoT issues node --version)

N/A

Browser(s)

No response

Steps to reproduce the behavior

  1. You can change focus state of items with arrow keys
  2. There is currently no option to trigger itemClick emitter with the keyboard navigation

Expected behavior

  1. You can change focus state of items with arrow keys
  2. If an item is focused you can trigger the itemClick emitter with the 'Space' key
@f94e59 f94e59 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 18, 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 May 30, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.0 milestone May 30, 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.

2 participants