DropDown: aria-controls referencing an element that doesn't exist. #14851
Labels
PRO Support
Issue was reported by PRO User
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The Axe Dev Tools for Accessibility is reporting the following issue...
The
aria-control
attribute references an element that doesn't exist as it's dynamically created when the user clicks the dropdown icon.A potential solution is to dynamically add the attribute when the element is showing.
Environment
Windows 10
Reproducer
No response
Angular version
17.2.1
PrimeNG version
17.7.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
Chrome and Edge
Steps to reproduce the behavior
Axe Dev Tools for Accessibility
plug-in.Expected behavior
No response
The text was updated successfully, but these errors were encountered: