markteekman / accessible-astro-components

A set of Accessible, easy to use, Front-end UI Components for Astro.

Home Page:https://accessible-astro.netlify.app/accessible-components/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accordions could work without JS

garyb1 opened this issue · comments

When I turn off JavaScript in Chrome the accordion component stays in a stacked accordion and cannot expand/collapse.

Maybe we should have a Minimum Viable experience and enhance that experience with JS is enabled.
We could expose the accordion heading and content and when JS is enabled enforce the accordion pattern?

Just a thought 🙂

I just realised I should have put this on the discussion board. Apologies.

No problem @garyb1 😊