Profile Card: used many background image properties.
Design comparison
Solution retrospective
Pretty decent challenge. Learned a lot about the various background image properties. Still not sure about the responsiveness of background images. Any feedback will be welcomed. Thanks
Community feedback
- @anoshaahmedPosted almost 3 years ago
To get rid of the accessibility/HTML issues shown in your Report:
- wrap everything in your body in
<main>
OR giverole=""
to the direct children of your<body>
... Click here to read more - have at least one
<h1>
in your code
Good job! :)
Marked as helpful0 - wrap everything in your body in
- @skyv26Posted almost 3 years ago
Hi! Vishal,
To solve accessibility issues:
-
wrap everything in your body in <main> OR give role="" to the direct children of your <body> ... Click here to read more here
-
Either Change your code
FROM
<div class="attribution"> Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. Coded by <a href="https://github.com/vishy312">Vishal Pal</a>. </div>
TO
<footer class="attribution"> Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank" aria-label="challenged by">Frontend Mentor</a>. Coded by <a href="https://github.com/vishy312" aria-label="developer name">Vishal Pal</a>. </footer>
OR Simply add role="footer" in your existing code like this
<div class="attribution" role="footer"> ... . .... </div>
But don't forget to add aria-label in anchor tag and make habbit of using it in your code to improve semantics.
Happy New Year ;)
Marked as helpful0 -
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