Design comparison
Solution retrospective
please help me review this challenge
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
HEADINGS ⚠️:
- This solution had generated accessibility error report due to lack of level-one heading
<h1>
- Every site must want at least one
h1
element identifying and describing the main content of the page.
- An
h1
heading provides an important navigation point for users of assistive technologies, allowing them to easily find the main content of the page.
- So we want to add a level-one heading to improve accessibility by reading aloud the heading by screen readers, you can achieve this by adding a
sr-only
class to hide it from visual users (it will be useful for visually impaired users)
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0 - Account deleted
Hey there! 👋 Congrats on completing the challenge with flying colors! 🎉
While reviewing your code, I noticed an accessibility issue related to headings. Specifically, there was a lack of level-one heading (<h1>) in the code, which is crucial for identifying and describing the main content of the page. Adding a level-one heading not only helps in improving the accessibility of the page but also makes it more user-friendly and easier to navigate.
Headings are an essential element of any webpage as they provide structure and hierarchy to the content. For visually impaired users or those who use assistive technologies like screen readers, headings serve as navigation points that help them find the main content of the page quickly. So, it's always a good practice to include a level-one heading that accurately describes the primary purpose of the page.
To make the heading more accessible for visually impaired users, you can add a sr-only class to hide it from visual users while still allowing screen readers to read it aloud. This simple step can significantly improve the accessibility of your code and make it more inclusive.
I hope you find this feedback helpful and implement the necessary changes. Keep up the great work, and happy coding!
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