Design comparison
SolutionDesign
Solution retrospective
Hello Web Devs,
Today I have successfully completed this landing page section with react. I think it is completely mobile responsive. Please, let me know your suggestion regarding this one.
Thank you.
Community feedback
- @grace-snowPosted almost 2 years ago
Any particular reason you've used React for this?! Seems overkill
Remember when you start writing react you must not let good code practices be left behind like accessible html
Some improvements needed:
- A logo is extremely important content. The most important on this page in fact. It cannot be treated as presentational
- You must use landmarks. This challenge clearly has a header main and footer but you've not used them. They cannot go inside each other so you need to remove the wrapping main
- If an image is valuable content it must have a proper description. Alt should not include words like "image" or "picture" as the img already has an image role
- Social links need an accessible name
Marked as helpful1@WebDevMirzaPosted almost 2 years agoHi @grace-snow,
- Your feedback helps me a lot. 👍 I have applied all the four points that you have recommended. Actually, I treated the whole design as a
main
which was a wrong approach as there is clearlyheader
,main
, and afooter
section in the layout. - When I removed presentation and used
alt
instead, accessibility issues solved as well that I have before. 🤩
Thanks.
0
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