Open jiyeol-lee opened 1 year ago
@cagataycivici are you open to a PR to fix this? Is this in scope for the v18 release?
I understand accessibility is documented as being supported, but it seems to mostly be related to contrast and does not clarify details of keyboard support
Looks like that PR that was closed without merging is still the right fix and was not applied to the latest codebase.
Describe the bug
for the keyboardEvent, which and keyCode is deprecated and it's recommended to use
key
.For example
Environment
I was testing using @testing-library/dom and @testing-library/user-event and tried to type on inputNumber tag but nothing works because @testing-library did not implement keyboard event for
which
andkeyCode
. Once I change them tokey
, my test cases pass like magic.Reproducer
No response
Angular version
14.2.3
PrimeNG version
14.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
ALL
Steps to reproduce the behavior
No response
Expected behavior
No response