
Design comparison
SolutionDesign
Community feedback
- P@webdevbynightPosted 4 months ago
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 helpful0@mohamed-fmPosted 4 months ago@webdevbynight Thank you for your feedback. The minus button was working, but there is a bug 🐛 in the new JS file that I just added, so I will fix this. And your feedback was very helpful. <3
0
Please log in to post a comment
Log in with GitHubJoin 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