We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
role="region"
The accordion and collapse panels are presented with markup like this:
<div id="hs-basic-collapse-three" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-heading-three">
This way, aria-labelledby is ignored. To make it work correctly, add role="region", like so:
aria-labelledby
- <div id="hs-basic-collapse-three" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-heading-three"> + <div id="hs-basic-collapse-three" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-heading-three" role="region">
See https://www.w3.org/WAI/ARIA/apg/patterns/accordion/examples/accordion/
The text was updated successfully, but these errors were encountered:
Hey @c-vetter - thanks for the suggestions. We will re-visit aria data attributes in future updates. Thanks!
Duplicated #365
Sorry, something went wrong.
Hey @c-vetter - our team released v2.4.0 update which includes enhancements for this case. Thanks!
No branches or pull requests
The accordion and collapse panels are presented with markup like this:
This way,
aria-labelledby
is ignored. To make it work correctly, addrole="region"
, like so:See https://www.w3.org/WAI/ARIA/apg/patterns/accordion/examples/accordion/
The text was updated successfully, but these errors were encountered: