Design comparison
Solution retrospective
If there any mistakes or suggestions, let me know.
Happy coding everyone!!
Community feedback
- @afrusselPosted over 3 years ago
Wow nice work. So close to design. Great
Marked as helpful2@zyq-mPosted over 3 years ago@afrussel Thank you Ahmed. Could you please take a look why there is accessibility issues occur?
0 - @zyq-mPosted over 3 years ago
Can somebody help me explain the accessibility issues? I don't understand why this happened.
0@webshurikenPosted about 3 years ago@zyq-m Hi, well done on the card! Looks great. I had a look at your accessibility issues and it is to do with how you used your HTML elements. Issue 1: Is to do with the order in which the heading elements appear in your document. You used the
<h3>
right after the<h1>
which is not recommended. It should be:<h1>Main title</h1> <h2>Secondary</h2> <h3>...</h3>
Issue 2-3: are related to each other. This is to do with assistive technologies and how they read the document. You need to use landmarks like
<nav>
or<main>
and place your tags inside of them..So if you wrap your
<section class="card">
with the<main>
tag it should solve the last two issues.best explained here:
Also here it tells you how to use the landmarks:
Hope this helps Hazlq 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