You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, for the #collapseExample, it should be not rendered at all due to the data-target attribute
OR the aria-hidden attribute should be explicitly set in every case (expanded or not) according to:
aria-hidden is not needed, as the flip between display:none and display:block has the same effect (things that are display:none'd are hidden from assistive technology, the same way that those with aria-hidden="true" are)
the fact that aria-expanded is set on the element that is expanded/collapsed is a valid bug. it doesn't do any harm, but it's certainly incorrect - it should only be the trigger element (the link or button that causes the expand/collapse) that has that attribute. i'll see if this can be fixed
When pressing the button in the example test case:
the aria-expanded attribute is also added to the collapseExample DIV like:
Instead, for the #collapseExample, it should be not rendered at all due to the data-target attribute
OR the aria-hidden attribute should be explicitly set in every case (expanded or not) according to:
The text was updated successfully, but these errors were encountered: