Design comparison
SolutionDesign
Solution retrospective
Hey guys!
Open to any feedback! :)
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in desktop looks really good, it responds well and the mobile layout is really good as well. This is a nice website.
Some suggestions would be:
- Lose the word "logo" on the
img
alt
of the website logo, since it is already an image, no need to describe it as one,alt="sunnyside"
would suffice. - On the
learn more
link, if you hover on the element of it in dev tools, you will notice that it doesn't have anyheight
this is because you made thespan
insideposition: absolute
which makes it out of the flow. I suggest not using thespan
and just let the text inside thatspan
be used by thea
tag directly. That way, it will have dimension and have theoutline
it needed, since it is an interactive element. - When using
blockquote
make sure to add the name of the person inside it, so that it will be read out as well by assistive tech. Making the name of the person as well aheading
tag would be good. - If you use a
section
that doesn't have any text embedded inside it, make sure to have atleast a screen-reader only text for that section, the text will be a heading tag, that hassr-only
class. You could look up for somesr-only
and use it.
FOOTER
- Like the above, lose the word
logo
on the website-image. - The social media links could have been wrapped inside a
ul
element, since those are "list" of social-media links. - Each
a
tag that wraps the social media icon should have text inside it so that there will be an extra information that the user will have. It could be asr-only
text inside thea
tag, or usearia-label
attribute on thea
tag, to which the value of both approach will use the name of the social media that they are nesting.
MOBILE
- The hamburger menu should have used
button
element and not a checkbox. Thebutton
will have anaria-label="navigation menu dropdown"
or other text, so that users will know what thisbutton
will do, and thebutton
should be usingaria-expanded
attribute on it as well. - Also, when making a dropdown, make sure that the element or the dropdown is properly hidden to all. Using
transform: scale(0)
does not really hide it totally, visually it is hidden but it will be still pick up by assistive tech. Instead, usevisibility: hidden
on it as default, then just transition tovisible
when the user toggles the hamburger.
Aside from those, really great work on this one.
Marked as helpful0@LesleyWesleyPosted about 3 years ago@pikamart Thank you for all the suggestions! They were really helpful! :)
0 - Lose the word "logo" on the
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