stimulus-reveal-controller
stimulus-reveal-controller copied to clipboard
Support aria-expanded
I wonder how to enable proper accessibility/ARIA support for a navigation menu, which gets revealed with stimulus-reveal-controller.
This is an implementation reference: https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-links.html
The challenge is aria-expanded="true"
and aria-expanded="false"
respectively, when the menu has been revealed or not.
Is there currently already a way to get this working?
That would be nice!
Could you open a PR please 🙏
Hi @tmaier
Can you review this PR please https://github.com/stimulus-components/stimulus-reveal-controller/pull/11?
Hi @guillaumebriday, I will try to do a test run within the next couple of days.