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-describedby is 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.
Describe the bug
The tooltip documentation states:
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
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-describedbyof the target to be set.