p-menu w/ popup: enter key on number pad doesn't select menu item (accessibility issue) #15415
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
There are two enter keys on most standard keyboards, one next to the alphanumeric keys and one next to the number pad.
Using a standard
<p-menu [popup]="true">
, you can trigger an item using the primary enter key, but you can't when using the enter key on the keyboard's number pad.Environment
Windows 10, but this occurs in any environment, including Stackblitz and the PrimeNG website.
Reproducer
https://github-mgg3my.stackblitz.io
Angular version
17.3.6
PrimeNG version
17.15.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.1
Browser(s)
No response
Steps to reproduce the behavior
Using the menu in the supplied StackBlitz reproduction, you can select an item using the primary enter key, but you can't when using the enter key on the keyboard's number pad.
Expected behavior
The enter key on the keyboard number pad should trigger menu options, just like the standard enter key does.
The text was updated successfully, but these errors were encountered: