faq-accordion-with-scss

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@webdevbynight
Some feedback:
- when clicking on the “minus” button, the expanded section does not close (is it intentional?);
- when clicking on any “plus” button, the section previously opened gets closed, which may not be a best practice in terms of UX;
- an user using the keyboard exclusively (such as a screen reader user) cannot access the answers at all, which means your solution has accessibility issues;
- such an accordion can be done without JavaScript: check the
details
andsummary
elements on MDN.
I hope this feedback helps you.
Marked as helpful
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