You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The aria-expanded attribute is not updated correctly if the menu is closed by clicking outside.
If the split menubutton is clicked the menu opens and the aria-expanded is set to true. If the user now clicks outside or presses esc button, the menu closes but the aria-expanded is not set to false but stays true.
Environment
macOS 14.5 (23F79)
Reproducer
No response
Angular version
17.3.7
PrimeNG version
17.16.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
No response
Steps to reproduce the behavior
Click the menu open through the menubutton
Close the menu by pressing ESC button or clicking outside the element
Check aria-expanded
Expected behavior
aria-expanded should be set to false.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
aria-expanded
attribute is not updated correctly if the menu is closed by clicking outside.If the split menubutton is clicked the menu opens and the
aria-expanded
is set totrue
. If the user now clicks outside or presses esc button, the menu closes but thearia-expanded
is not set tofalse
but staystrue
.Environment
macOS 14.5 (23F79)
Reproducer
No response
Angular version
17.3.7
PrimeNG version
17.16.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
No response
Steps to reproduce the behavior
aria-expanded
Expected behavior
aria-expanded
should be set to false.The text was updated successfully, but these errors were encountered: