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

[KButton]: Add aria-haspopup and aria-expanded to KButton when it has a KDropdownMenu related #832

Open
AlexVelezLl opened this issue Nov 19, 2024 · 3 comments · May be fixed by #856
Open
Assignees

Comments

@AlexVelezLl
Copy link
Member

🌱 Are you new to the codebase? Welcome! Please see the contributing guidelines.

Product

Kolibri, Studio, KDS, etc.

Expected behavior

KButton should have the required aria-haspopup property, and the aria-expanded state when it activates a dropdown menu.

The rendered button should have aria-haspopup="menu" if it has a menu slot defined, aria-expanded="false" if the dropdown is closed, and aria-expanded="true" if the dropdown is opened.

Actual behavior

We dont have any of these properties in kbutton right now.

@josephinoo
Copy link

Hi @AlexVelezLl , can you assign this issue to me ?

@AlexVelezLl
Copy link
Member Author

Hi @josephinoo! For sure! Thanks for your interest in contributing to Kolibrí 🤗 . I will assign this issue to you. Let us know if you have any questions :)

@MisRob
Copy link
Member

MisRob commented Dec 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants