3-Column Preview Card Solution using basic HTML and CSS
Design comparison
Solution retrospective
I'd appreciate any feedback on my solution. I think it's quite simple, and think it might need some work. However, it does work.
Community feedback
- @muhammadshajjarPosted about 3 years ago
Hi!
Good job on completing your first challenge! Some feedback from me.
- Your images should have alt attribute but for decorative images, you should leave alt as blank and use
role=" presentation"
oraria-hidden=" true"
to make sure all screen readers ignore those images. In your case, I think all icons are decorative. - Don't need to specify fixed height or width to your boxes, let them shrink, grow as they needed, use padding instead, and
max-width
. - Only use one
h1
for every page. - Your page should contain one
main
, always use HTML semantic markers to designate sections of the page as theheader
,main
,footer
etc.
That's all hope it would help you.
Marked as helpful0@mexwebdev21Posted about 3 years ago@muhammadshajjar thank you so much for your feedback, Muhammad. I honestly didn't know about the images part: role=" presentation" aria-hidden=" true"
I've written it on a piece of paper and am keeping it on the corner of my laptop screen. Thank you.
Cheers!
0@muhammadshajjarPosted about 3 years ago@mexwebdev21 check out this it would help you, I also suggest reading @grace-snow comments, As the accessibility expert, she is regularly talking about accessibility which is actually very very important.
0 - Your images should have alt attribute but for decorative images, you should leave alt as blank and use
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