Design comparison
Solution retrospective
Feedback appreciated. Thanks!
Community feedback
- @brodiewebdtPosted almost 3 years ago
This looks good. Nice job.
Add an aria-label="Facebook link" or whatever the link is to the .socials a tags and it should clear the accessibility warnings.
Download AXE DevTools and you can clear accessibility warnings while you code. https://www.deque.com/axe/devtools/
Hope this helps.
Marked as helpful0 - @pikapikamartPosted almost 3 years ago
Hey, nice work on this one. The desktop layout I think looks nice, the site is responsive and the mobile state looks good.
David Turner already gave a feedback on this one, just going to add some suggestions as well:
- Avoid using
height: 100vh
on a large container like thebody
as this makes the element's height capped based on the viewport/screen's height. Instead usemin-height: 100vh
so that the element will expand if it needs to. Also, just in general avoid usingvh
unit in theheight
so that it won't limit the element. - When using
img
tag, you don't need to add words that relates to "graphic" such as "logo, illustration" and others, sinceimg
is already an image so no need to describe it as one. - On the hero-section's image, if you look at it, the image doesn't really give any information on what it is showing since it is just almost an empty vector, meaning it is just a decorative image. Decorative images should be hidden for screen-reader at all times by using
alt=""
andaria-hidden="true"
to theimg
tag or onlyaria-hidden="true"
if you are usingsvg
instead ofimg
tag. - Those social-media links should be living outside the
main
tag and should be inside thefooter
. - Change the social-media from using
section
into usingul
since those are "list" of links. Also,section
tag is not informative treated as a landmark unless it is labelled byaria-labelledby
to which points to theid
of the heading tag. You could use it also on a part or section of the layout where there is already a visible heading text. - Each
a
tag that wraps the social-media icon should have eitheraria-label
attribute orsr-only
text inside it, defining where the link would take them. For example, you should usefacebook
as the value if the link would take the user to facebook.
Aside from those, great job again on this one.
0@jussi777Posted almost 3 years ago@pikapikamart Thanks a lot for your feedback! It's very helpful
1@pikapikamartPosted almost 3 years ago@jussi777 Glad that you found my review useful^^
0 - 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