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

Calendar KeyBoard Accessibility Issue When Showed Two Months And Pressed the ArrowRight #7604

Closed
janey-ciandt opened this issue Jan 15, 2025 · 1 comment · Fixed by #7607
Closed
Assignees
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA
Milestone

Comments

@janey-ciandt
Copy link

Describe the bug

sandbox link:https://stackblitz.com/edit/re2gxksh?file=src%2FApp.jsx

when we keep pressing the ArrowRight,the console will show an error like that:
Uncaught TypeError: Cannot set properties of null (setting 'tabIndex')
at navigateToMonth2 (primereact_calendar.js?v=8ce8adc0:6442:28)
at onDateCellKeydown2 (primereact_calendar.js?v=8ce8adc0:6343:11)
at onKeyDown (primereact_calendar.js?v=8ce8adc0:8191:16)
at HTMLUnknownElement.callCallback2 (chunk-QXLG2TGQ.js?v=95b925d2:3678:22)
at Object.invokeGuardedCallbackDev (chunk-QXLG2TGQ.js?v=95b925d2:3703:24)
at invokeGuardedCallback (chunk-QXLG2TGQ.js?v=95b925d2:3737:39)
at invokeGuardedCallbackAndCatchFirstError (chunk-QXLG2TGQ.js?v=95b925d2:3740:33)
at executeDispatch (chunk-QXLG2TGQ.js?v=95b925d2:7044:11)
at processDispatchQueueItemsInOrder (chunk-QXLG2TGQ.js?v=95b925d2:7064:15)
at processDispatchQueue (chunk-QXLG2TGQ.js?v=95b925d2:7073:13)

Reproducer

No response

System Information

Ubuntu 21.0
Google Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

@janey-ciandt janey-ciandt 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 15, 2025
@melloware melloware added 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 Jan 15, 2025
@melloware melloware self-assigned this Jan 15, 2025
@melloware melloware added this to the 10.9.2 milestone Jan 15, 2025
melloware added a commit to melloware/primereact that referenced this issue Jan 15, 2025
@melloware
Copy link
Member

Definitely a bug ...submitted a PR.

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants