-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix: aria-expanded attribute added to navigation button (#96) #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for picking this up @joe-allen-89.
When _location
is set to notify
this works as expected. When the _location
is set to drawer
however the aria-expanded
remains true
when drawer is collapsed.
@kirsty-hames Apologies, stupidly missed off the event listener for drawer:closed. I've added that in and moved all event listeners to their own function to keep code clean. |
🎉 This PR is included in version 2.5.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
#96
Fix