Design comparison
SolutionDesign
Solution retrospective
All feedback is highly appreciated! 😊
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in desktop looks great, it is responsive and the mobile state looks really great as well.
Some suggestions would be:
- Avoid using
height: 100vh
on a large container like thebody
tag as this limits the element's height based on the remaining screen's height. Instead usemin-height: 100vh
, this takes full height but lets the element expand if needed. - All images used in here are just vector and just purely decoration. Decorative image must be hidden at all times by using
alt=""
and extraaria-hidden="true"
attribute on theimg
tag. - Right now, the accordion works fine when using mouse only but is limited to that. When creating interactive components, use interactive elements. By using
div
you are making it not-accessible. - Instead of
div
usebutton
instead, but you will need to manipulate thearia-expanded
attribute of thebutton
if you don't wan this, you could just usedetails
element. This is suited for accordions and it is already accessible so you don't need to manipulate an element. - Dropdown-icon should be hidden as well using the method I mentioned.
Aside from those, site looks great.
Marked as helpful1 - Avoid using
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