primefaces / primefaces/primereact
Calendar (Accessibility issue): Calendar icon is not focused
Open
Nobody has claimed this yet.
Status: Needs Triage
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The calendar icon is not focusable when showIcon is enabled and you navigate using Tab.
Reproducible on the primereact documentation page: https://v9.primereact.org/calendar/
Reproducer
https://stackblitz.com/run?file=src%2FApp.js
System Information
"primereact": "^10.9.7",
"react": "^18.2.0",
Steps to reproduce the behavior
- Set showIcon on the Calendar component
- Navigate via tab on the keyboard to the calendar
- The calendar icon is not focused
Expected behavior
When navigating to the Calendar, the calendar icon is focused
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the linked StackBlitz reproducer from src/App.js and compare its keyboard behavior with the Calendar documentation example. Investigate the Calendar component with showIcon enabled; done means the calendar icon receives focus during Tab navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100