a11y_accordions
a11y_accordions copied to clipboard
ES5 ARIA Accordion Component
Ran into an issue where I needed some `SPAN` content passed thru to the button text. Ex: a [FontAwesome](https://fontawesome.com/icons/github?style=brands) `I` tag. In your `ARIAaccordion.setupHeadingButton` function the following changes did the...
First of all, great job! The query selector you use for accordion headings/panels contained within an ol/ul list returns all descendant headings/panels in the main accordion (as well as the...
This PR adds code originally contributed by @danjacquemin and @krokodok in the discussion of issue #10
When focusing an active accordion trigger a unique focus style should be available This should just require a new css focus selector for the button when in the aria-expanded state
Accordions should be allowed to be created without the triggers needing to be within heading elements. This would make far more sense for instances of them being used within list...
Add in feature for use of `data-class` attribute, where the set value will be the baseline class that the accordion wrapper will have applied to it, and child elements will...