stimulus-reveal-controller icon indicating copy to clipboard operation
stimulus-reveal-controller copied to clipboard

Support aria-expanded

Open tmaier opened this issue 3 years ago • 3 comments

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?

tmaier avatar Jan 01 '22 23:01 tmaier

That would be nice!

Could you open a PR please 🙏

guillaumebriday avatar May 02 '22 21:05 guillaumebriday

Hi @tmaier

Can you review this PR please https://github.com/stimulus-components/stimulus-reveal-controller/pull/11?

guillaumebriday avatar Jun 16 '23 04:06 guillaumebriday

Hi @guillaumebriday, I will try to do a test run within the next couple of days.

tmaier avatar Jun 19 '23 19:06 tmaier