Skip to content

Accessibility: Focus indication is lost when navigating to another month #412

Description

@danalt06

Describe the bug

When keyboard navigation moves from a date in the current month to a date in the next or previous month, the Calendar changes the displayed month but the visible focus indication is lost.

Reproducer

No response

System Information

"primereact": "^10.9.7",
"react": "^18.2.0",

Steps to reproduce the behavior

  1. Open the Calendar.
  2. Navigate through the dates using the Arrow keys.
  3. Continue navigating until the focused date belongs to the next or previous month.
  4. The Calendar switches to that month.
  5. Observe the keyboard focus indication.
chrome_pkbaofanac.mp4

Expected behavior

When keyboard navigation causes the Calendar to switch months:
Keyboard focus should remain on the newly focused date.
A visible focus indicator should remain present.
Users should always be able to determine which date currently has keyboard focus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue or PR need investigating and labeling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions