Toggle Accordion Attributes for Accessibility

Toggle Accordion Attributes for Accessibility

Enhance the accessibility of an accordion component by toggling an aria-expanded attribute when the accordion is opened or closed.

.accordion-trigger would be the button that triggers the accordion to open and close on click, and should start with an attribute of aria-expanded="false" that is set within the Webflow Designer. The direct sibling element to the trigger would have the class of .accordion-content and is what is changed with interactions to be hidden/shown and size is set to 0/auto.

For another great accessible accordion example see: https://webflow.com/accessibility/checklist/task/ensure-accordions-are-keyboard-navigable

Industries

Creators

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
3.29.21

Similar items

Advertise with No-Code Supply Co.

View item
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Disruptive Technology Index

3.27.24

Hothouse

3.26.24

MØDDEN

3.25.24

Phind

3.22.24

Mast

3.13.23

Qudrix

3.21.24

The Generalist

3.21.24

xSync Webflow App

3.21.24

Saddle

3.21.24

Thread

3.20.24

Whalesync

1.8.23

Curation of Curations

3.20.24

How to make numbers count using Webflow interactions

3.20.24

Jetboost

12.3.19

Fabric

3.18.24

Yulia

3.18.24

Cycle

3.18.24

Navbar Gallery

3.18.24

Fathom Analytics

12.1.22

Koala UI

84,99€
3.17.24

Matt Stobo

3.17.24

CSS Only Animations

3.16.24

Cloudinary

3.16.24

Unicorn Studio

3.16.24

Audienceful

8.1.22

Para

3.15.24

Reshape

3.15.24

Superorganism

3.15.24

The Bang

3.15.24

Kreyda

3.15.24

Way

3.15.24

Interface Friends at Config

3.14.24

TopTier Miami Rentals

3.14.24

Side School

3.14.24

Memberstack

12.3.19

Tom Parkes

3.12.24

Slater

6.2.23

Creators Guild of America

3.12.24

Daniel Sun

3.12.24

Flatpickr

3.12.24

Baseborn

3.12.24

Juice

3.11.24

Mollie

3.11.24

Axon Evidence

3.10.24

Teachable

3.10.24

SaaS Website Kit

3.10.24

Unspace

3.10.24

404s

3.7.24

Lattice State of People Strategy Report 2024

3.7.24

folk

12.19.22

EmergentX

3.6.24

Zylon

3.5.24
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.

Subscribe