Tooltip: Does not activate on focus

Open
#8,509 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react

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.

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
  1. Go to the stackblitz.
  2. Use the TAB key to focus any of the inputs or buttons.
  3. 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.

Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from primefaces/primereact

All issues in primefaces/primereact

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.