Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Accessible Accordion

P
Jax Teller 670

@piushbhandari

Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Accessible accordion.

Please critique how accessible my accordions are + review markup, css, and javascript . thanks!

i added an extra little feature that lets you choose if you want to have one accordion open at a time or not.

Community feedback

Bruce B 505

@bbsmoothdev

Posted

The accessibility on your toggle buttons is great. But I would double check if you have the right values for the aria-hidden attribute on the content.

Marked as helpful

0

P
Jax Teller 670

@piushbhandari

Posted

@bbsmoothdev oops, yeah you're right. just fixed it. thanks

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord