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 not set correctly #4065

Closed
Anubarak opened this issue Jun 19, 2023 · 0 comments
Closed

SplitButton: aria-expanded not set correctly #4065

Anubarak opened this issue Jun 19, 2023 · 0 comments
Assignees
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Anubarak
Copy link

Describe the bug

When opening the Splittbutton, the aria-extended property isn't set properly.
The first time the value isn't updated at all, the following times it is in revered Order.
When the Menu is open aria-expended is set to false, when it is closed aria-expended will become true

Initial state

image

opening first time

image

closing first time

image

opening following times

image

Reproducer

https://primevue.org/splitbutton/

PrimeVue version

3.29.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to https://primevue.org/splitbutton/
  2. open the split button menu -> see aria-expended is not updated
  3. close the Button Menu
  4. open the Menu -> see aria-expended is false

Expected behavior

aria-expended should update properly

@Anubarak Anubarak added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 19, 2023
@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 20, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.30.0 milestone Jun 20, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Jun 20, 2023
@tugcekucukoglu tugcekucukoglu changed the title Splitbutton: aria-extended not set correctly SplitButton: aria-expanded not set correctly Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants