jwstegemann / fritz2

Easily build reactive web-apps in Kotlin based on flows and coroutines.
https://www.fritz2.dev
MIT License
653 stars 28 forks source link

Headless disclosure: Fixes `aria-controls` attribute #882

Closed haukesomm closed 1 month ago

haukesomm commented 1 month ago

This PR fixes the disclosure's aria-controls attribute so that it's set on both the button and the close-button.

As a side effect, the attribute is now always present (instead of being rendered dynamically), reducing Flow overhead.

Closes #753