Results Summary using grid, flexbox, and semantic HTML
Design comparison
Solution retrospective
I would love to hear any feedback regarding semantic HTML, accessibility, and efficient CSS. Thanks for your time!
Community feedback
- @MelvinAguilarPosted over 1 year ago
Hello there π. Good job on completing the challenge !
The solution looks much better now, I just have one small suggestion.
-
Is the word "Great" important enough to be a heading element? What is the content associated with that title? This is the heading structure of your code:
- Results Summary (visually hidden)(h1).
- Your Result (h2).
- Great (h2).
- Summary. (h2).
- Reaction (h3)
- Memory (h3)
- Verbal (h3)
- Visual (h3)
Does this make sense? In my humble opinion, the element can be a paragraph. Also, the words "Reaction," "Memory," "Verbal," and "Visual" are not very good candidates to be heading elements. more info here.
- Results Summary (visually hidden)(h1).
I hope you find it useful! π
Happy coding!
Marked as helpful1@ohuttarPosted over 1 year ago@MelvinAguilar
Thanks for your feedback and for the helpful link!
Yeah I see your point. Really everything beneath the "Your Result" and "Summary" headings are the content of those headings, and don't need to be subdivided. I'm going to update my HTML file.
0 -
- @0xabdulkhaliqPosted over 1 year ago
Hello there π. Congratulations on successfully completing the challenge! π
- I have other recommendations regarding your code that I believe will be of great interest to you.
HTML HEADINGS π·οΈ:
- Every site must want at least one
h1
element identifying and describing the main content of the page.
- An
h1
heading provides an important navigation point for users of assistive technologies, allowing them to easily find the main content of the page.
- So we want to add a level-one heading to improve accessibility by reading aloud the heading by screen readers, you can achieve this by adding a
sr-only
class to hide it from visual users (it will be useful for visually impaired users)
I hope you find it helpful ! π Above all, the solution you submitted is great
Happy coding!
Marked as helpful0@ohuttarPosted over 1 year ago@0xAbdulKhalid
Thanks for the tip! I updated the HTML to include an h1
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