Design comparison
SolutionDesign
Community feedback
- @catherineisonlinePosted almost 3 years ago
Looks really nice! For more accessibility, you might need to add alt to img tags, wrap everything in main tag and also have one h1 heading.
Marked as helpful1@graciedevinePosted almost 3 years ago@catherineisonline Thank you, especially for the comment about the main tag. I was wondering about that error on the first and last divs!
0@catherineisonlinePosted almost 3 years ago@graciedevine Yes, I had the same issue at first. I made a note since then about landmarks. You can also use it. role=" " is called ARIA landmark and it's not necessary, you can use without it.
- <header role="banner"><p>Put company logo, etc. here. </p></header>
- <nav role="navigation"><ul> <li>Put navigation here</li> </ul></nav>
- <main role="main"><p>Put main content here.</p></main>
- <footer role="contentinfo"><p>Put copyright, etc. here.</p></footer>
Marked as helpful1
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