Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SplitButton: aria-expanded is not correct #15752

Closed
tri-harmoney opened this issue May 30, 2024 · 0 comments · Fixed by #15753
Closed

SplitButton: aria-expanded is not correct #15752

tri-harmoney opened this issue May 30, 2024 · 0 comments · Fixed by #15753
Labels
LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@tri-harmoney
Copy link
Contributor

Describe the bug

If the TieredMenu is opened aria-expanded is set to true, but when the TieredMenu is closed using the escape key or by clicking outside the element it is not set to false.

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

  1. Open the TieredMenu by clicking on the chevron.
  2. Check aria-expanded is true
  3. Close TieredMenu by pressing escape button or by clicking outside element
  4. 'aria-expandedis not set tofalse`

Expected behavior

'aria-expandedshould befalse` when menu is closed.

@tri-harmoney tri-harmoney added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 30, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working LTS-PORTABLE and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants