Design comparison
Solution retrospective
Not sure how to fix the "Accessibility Issues" in the report? If anyone knows, I'd be really grateful as I've faced the same issues in my last project here too! 😅
I'd also appreciate any and all feedback if improvements could be made.
// Edit: Code updated to fix Accessibility Issues - resolved with help! 🎉
Community feedback
- @mattstuddertPosted over 3 years ago
Hey Alisa, nice work on this project! The main warning on your accessibility report is due to your HTML missing a
main
element. Themain
element is a semantic HTML5 landmarking element, likeheader
,nav
, andfooter
. Every page you create should have a singlemain
element to mark the page's main content.You're also missing a
h1
heading. This challenge is tricky with that accessibility warning because the three headings would all normally be lower thanh1
in a larger project. To ensure this page still has ah1
heading, though, you could add it and then visually hide it so that it can still be accessed by people using screen reader software. Here's a good article to learn more about visually hidden content for accessibility.I hope that helps. Let me know if you have any questions. Keep up the great work!
Marked as helpful2@alisazarinaPosted over 3 years ago@mattstuddert Hey, Matt! Thank you for the helpful response. I've updated my code accordingly, but I still seem to face the same Accessibility Issues in the report. 😓 Not sure what else I'm missing?
Here's the direct link to my HTML code: https://github.com/alisazarina/3-column-preview-card/blob/main/index.html
Really appreciate the help! x
0@mattstuddertPosted over 3 years ago@alisazarina, you're welcome! It looks like you haven't generated a new report. Now that you've updated your code go to the report page and click "Generate new report" at the top. You'll then see if there are any new issues.
I'd recommend not having multiple
h1
headings, as this can also be an accessibility issue. Instead, I'd have a single visually hiddenh1
with threeh2
headings for this project.1@alisazarinaPosted over 3 years ago@mattstuddert Got it! Still new around here, so I'm thankful for all the tips and tricks. 😊 Excited to do more challenges - thanks for creating such a cool site, Matt! (Also kind of psyched to be corresponding with its founder, haha)
All the best. x
0@mattstuddertPosted over 3 years ago@alisazarina, haha, no worries! I'm delighted to hear you like the site. I hope you continue to enjoy the challenges! 🙂
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