Base Apparel coming soon page using CSS grid areas
Design comparison
Solution retrospective
✨Hello frontend mentor community, this is my solution 👉 to base apparel coming soon webpage.
Since I'm not too good with css grid, I found it difficult 🚵 to design layout for desktop screen sizes, but somehow I still made through it.👨💻
♥Love to hear feedback on this solution.
Community feedback
- @dusan-bPosted about 2 years ago
Hello Pranshu,
you structured your HTML well and made it accessible for AT users, nice going! There are just a few changes I would consider.
Heading level order
Even though it's technically allowed to have multiple
<h1>
elements on one page, it's not considered as good practice and should be avoided. The order of headings is an important guidance to AT users as this is one of their ways to navigate through content.Landmarks
The page content inside
<main>
should also contain the<picture>
element, which is part of unique, non-repeating content. Genereally speaking, you should avoid having semantic HTML elements outside of a landmark (header, main, footer etc.).Button with label containing "button"
Screen reader usually announce focused elements like buttons and links with their role names, after reading out the label. That means that the word "button" will be announced twice if that word is in the label. This redundancy can cause confusion to AT users. A label like "Submit email" would be easier to understand and prevents word repetition.
Besides that, I think you made a good job building accessible HTML.
Keep up the good work!
Marked as helpful1@Pranshu-SahuPosted about 2 years agothanks @dusan-b ,it helped me to solve accessibility issue.
Can you provide me resources to learn about a11y ?
0@dusan-bPosted about 2 years ago@Pranshu-Sahu Sure, here are some useful resources:
- https://developer.mozilla.org/en-US/docs/Learn/Accessibility
- https://web.dev/learn/accessibility/
- https://www.a11ymatters.com/
Have fun!
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