Skip to content
New issue

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

Keep accordion content visible with JS disabled #89

Open
hugopeek opened this issue Dec 11, 2016 · 0 comments
Open

Keep accordion content visible with JS disabled #89

hugopeek opened this issue Dec 11, 2016 · 0 comments

Comments

@hugopeek
Copy link
Owner

Right now, the accordions are shut tighter than a bad mussel if you turn off javascript. It would be better if every accordion panel is open by default, which can easily be done by adding an "active" class to the content element. Then hide the panels again when initiating the accordion with JS.

This applies to the Tabs functionality as well btw, but that will be slightly more difficult since tabs are designed to only have 1 panel open at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant