Design comparison
Community feedback
- @javascriptoooPosted over 2 years ago
Given the accessibility issues -- you need to include at least the
<main>
landmark.The
<main>
landmark tag can be inserted around your content inside the<body>
. (Looks like you forgot to place the opening<body>
tag as well.) Here is some documentationAdding the
<main>
landmark will remove 3 accessibility issues! :)Also, with accessibility, you cannot skip headings. Change your
h3
tag to anh1
and stylize the text from there. Headings are used by screen readers for people to navigate the page. AnH1
is the main topic. So users can jump to it. If you have multiple headings, the user can skip them in screen readers.Check out this Headings Documentation
Hope that helps! Great work!
Steven
Marked as helpful1@eizan97Posted over 2 years ago@javascriptooo Thanks for your comment, it helped me, to make better code. also in the next challenge, I will be careful and correct my code
1
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