primefaces / primefaces/primereact
Tooltip: Does not activate on focus
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 tooltip does not activate on focus.
Reproducer
https://stackblitz.com/edit/vitejs-vite-wjimyrsw?file=src%2FApp.tsx
System Information
PrimeReact 10.9.7 on the PrimeReact site.
Steps to reproduce the behavior
- Go to the stackblitz.
- Use the TAB key to focus any of the inputs or buttons.
- Note that the tooltip does not appear, while it does appear on hover.
Expected behavior
The tooltip should appear if the element is focused, and should be dismissable using the ESC key.
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
Reproduce the issue in the linked StackBlitz, using the TAB key on the inputs and buttons and checking ESC dismissal. Then locate the tooltip implementation and its tests in the repository; done means a focused element displays its tooltip like a hovered element and ESC dismisses it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100