Design comparison
Solution retrospective
This is a temporal solution for the JS of the accordeon
Community feedback
- @zineb-BouPosted over 2 years ago
Hi there, since this is a temporal solution I am dropping some comments that may help you to improve your solution next time.
-
On mobile screens, the text is overlapping, I think setting an explicit height may cause this kind of problem, so let the container shrink according to the text size.
-
Anything that is clickable or has a hover effect means it’s an interactive element, the toggle arrow actually it’s a button, so you can wrap the
<img>
inside a<button aria-label=” toggle arrow”>
. -
Illustration images are for decoration purposes, there is no information to convey so it's better to hide them from the screen readers using
aria-hidden=” true”.
-
<body>
is not taking the total height when scaling down to mobile screens, I would recommend usingmin-height:100vh
instead ofheigh:100vh
to avoid this problem.
Good luck
Marked as helpful1@AlexuvaPosted over 2 years agoThank you @zineb-Boy for the comments, it really helps a lot! Im not that experienced in responsive and overall accessibility, I got to work harder on that! so I really appreciate your feedback.
0 -
- @shashreesamuelPosted over 2 years ago
Hey good job completing this challenge.
Keep up the good work
Your solution looks great however I think your card is missing a subtle box-shadow
In terms of accessibility issues simply wrap all your content between main tags
I hope this helps
Cheers Happy coding 👍
Marked as helpful1@AlexuvaPosted over 2 years ago@TheCoderGuru Thanks for the tip! :D
Happy coding!
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