Design comparison
Solution retrospective
any feedback would be great i know its not perfect but i tried
Community feedback
- @VCaramesPosted almost 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
- Along with the blank
alt tag
, you also want to include thearia-hidden=“true”
⚠️ to your “ images/illustrations” to fully remove them from assistive technology.
More Info: 📚
[MDN Aria-Hidden] (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-hidden#description)
- To ensure that the "rating buttons" are fully accessible 💯, they need to be built using a
form
⚠️.
- Everything will be wrapped inside a
fieldset
which will have alegend
that is visually hidden using CSS. - Inside, there should be five
input radios
and eachinput
should have alabel
attached to it to make the “ratings” accessible. - The last thing you will want to include will be a
button
so users can submit their choice.
More Info: 📚
- Currently, users can submit without selecting a rating ⚠️. To fix this, you can do one of the following:
- Make the “5” rating the default rating.
- Create an error message, telling users they need make a selection.
- Disable the button until a selection is made.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🎆🎊🪅
Marked as helpful1 - Along with the blank
- @nelsonleonePosted almost 2 years ago
HELLO......congrats on completing this challenge....well done 🎊 🎊 I took a look at your solution , you buttons look that way because of the
border-radius
It's not round in shape , because theheight
and thewidth
are not equal. To ensure this ,you can simply setaspect-ratio:1/1
on your buttonsHope this comment was helpful ,and you found meaning in it , have fun coding
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