3-column component challenge hub using Flexbox
Design comparison
Solution retrospective
I appreciate all the feedback, thank very much 😄.
Community feedback
- @vanzasetiaPosted over 2 years ago
Hello, Fernando! 👋
Great solution! It's great that you are using the landmark elements correctly by wrapping the card element with the
main
tag and wrapping theattribution
with thefooter
tag. Also, it's great that you are hiding all the decorative images from the screen reader users. Well done! 👍However, there are two things that can be improved.
- Firstly, if you want to remove the accessibility, which is not a big deal in this case, you could have a visually hidden
h1
by usingsr-only
styling. Put theh1
as the first child of themain
element. It could say3-column preview card component challenge project
. - Secondly, I would recommend using anchor tags or link elements for the
Learn More
buttons. If this is a real website, those buttons would navigate the users to a different webpage or parts of the page, which is what the link is for. Thebutton
elements are for actions like opening a modal, submitting a form, toggling element, etc.
Overall, great work. The site has a good HTML markup, it's pretty straight forward and you might want to add a visually hidden
h1
to remove the accessibility issue.That's it! Hope you find this useful! 😁
Marked as helpful0@whiteknight-devPosted over 2 years ago@vanzasetia Thank you very much I really appreciate it those advices 😄.
0 - Firstly, if you want to remove the accessibility, which is not a big deal in this case, you could have a visually hidden
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