Tooltip: Not accessible because aria-describedby is not set.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
Research direction
Start with the App.tsx reproducer and compare the standalone and integrated Tooltip behavior described in the issue. Verify how the target is handled when the tooltip becomes visible; done means the target receives the generated tooltip id through aria-describedby in both cases.
Written by the indexing model from the issue text.
Description
Describe the bug
The tooltip documentation states:
Tooltip component uses tooltip role and when it becomes visible the generated id of the tooltip is defined as the aria-describedby of the target.
This does not actually happen.
Reproducer
https://stackblitz.com/edit/vitejs-vite-wjimyrsw?file=src%2FApp.tsx
System Information
PrimeReact 10.9.7, you can see it on the Primereact demo site: https://primereact.org/tooltip/#delay
Steps to reproduce the behavior
- Go to the stackblitz.
- Use the inspector to select either button or the input.
- Hover over the element, showing the tooltip.
- Note that
aria-describedbyis not set on either the button or the input.
This happens both with the standalone and the integrated tooltip.
Expected behavior
Expected aria-describedby of the target to be set.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from primefaces/primereact
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
primefaces/primereact#8552 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
primefaces/primereact#8550 ·
-
Row checkbox selection tick is invisible in Landing Page Theme sectionPossibly taken @Prakash1185 claimed this 173 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
primefaces/primereact#8545 ·
-
Dependency conflict between jspdf v4 and jspdf-autotable during npm installPossibly taken @Kamran92 claimed this 187 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
primefaces/primereact#8537 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
primefaces/primereact#8551 ·
All issues in primefaces/primereact
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
a11y
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
omeka/plugin-ExhibitBuilder#169 ·
-
Accessibility: list row and select-all checkboxes still unnamed in 3.x (#17376 fix not in 3.91)OpenBug Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
payloadcms/payload#19837 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
keyxmakerx/Chronicle#2563 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100