@VCarames
Posted
Hey there! π Here are some suggestions to help improve your code:
The βcar images/iconsβ in this component are purely decorative; They add no value. So their Alt Tag
should be left blank and have an aria-hidden=βtrueβ
to hide them from assistive technology.
More Info:π
https://www.w3.org/WAI/tutorials/images/
- The headings in your component are being used incorrectly. Since the
h1
heading can only be used once, it is always given to the heading with the highest level of importance. This component has three headings of equal importance, so the best option would be to use anh2
heading since it is reusable and it will give each heading the same level of importance.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!ππ
Marked as helpful
@Farrukh997
Posted
@vcarames, thank you for your feedback. I didn't know images could have a context and the rule about h1
. I'm glad you corrected me.
@VCarames
Posted
@Farrukh997
Glad I could help!
Keep it up!