Design comparison
SolutionDesign
Community feedback
- @Joseph1032Posted almost 3 years ago
To avoid this type of error from the Accessibility Issues: Heading levels should only increase by one
Ensure that you're not skipping heading levels. In your HTML, you have an <h2> on line 33 and then an <h4> on line 40, skipping <h3>. You can fix this simply by replacing <h4> with <h3> and your <h5> with <h4>.
Also, wrap your markup in <main></main> inside the <body> to avoid the landmark error from the Accessibility Issues as well.
Nice work :)
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