@VCarames
Posted
Hey there! ๐ Here are some suggestions to help improve your code:
- not only improve your HTML code but to identify the main content of you page, you will want to wrap your entire component inside the
main
element.
More Info:๐
- The โicons/illustrationsโ in this component serve no other purpose than to be decorative; They add no value. There
alt tag
should be left blank and have anaria-hidden=โtrueโ
to hide them from assistive technology.
More Info:๐
https://www.w3.org/WAI/tutorials/images/
- The proper way to build the "rating buttons" in this challenge is to create a
form
and inside of it, there should be fiveinput radios
and eachinput
should have alabel
attached to it to make the buttons accessible. Finally wrap all theinputs
andlabels
inside afieldset
to prevent users from making more than one selection.
More Info:๐
MDN <fieldset>: The Field Set element
- The
attribution
should be wrapped in afooter
element.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!๐๐
Marked as helpful
@Dytoma
Posted
@vcarames Thank you a lot for your tips. I will apply that to my next project.