-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible
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/#delaySteps 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible