Password: Warning message related to aria-hidden
displayed when clicking the toggleMask icon
#7473
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Milestone
Describe the bug
When I set the toggleMask property to true in the Password component and click the eye icon, the related warning message is displayed in the console every time I click, whether I turn the mask on or off.
The same phenomenon appears in the PrimeReact official documentation and the Reproducer I registered.
Reproducer
https://stackblitz.com/edit/vitejs-vite-qvir2v?file=src%2FApp.tsx
System Information
Steps to reproduce the behavior
Expected behavior
Warning messages should not be displayed in the browser developer console.
The text was updated successfully, but these errors were encountered: