Design comparison
SolutionDesign
Community feedback
- @anoshaahmedPosted almost 3 years ago
Hey good job on the challenge! In the future, to avoid accessibility issues, you could use semantic tags for the direct children of your
<body>
or you could userole=""
.So, in your case, instead of
<div class= "container">
, you could use<main>
, and for your<div class="attribution">
, you could use<footer>
.OR
You could add roles like so:
<div class= "container" role="main">
and<div class="attribution" role="contentinfo">
:)
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