@migsilva89
Posted
Nice job on this challenge. You have some HTML issues,
All page content should be contained by landmarks: https://dequeuniversity.com/rules/axe/4.3/region?application=axeAPI.
About your question, I believe the best solution is to use an input radio instead of a button. With the input radio, every time you select one the other is unselected.
Also, see that orange is the color on HOVER and dark gray is the color when you select it. This is a rating component so we should be able to select only one number.
Hope it helps, if so please mark it as helpful.
Happy code! regards,
Miguel Silva
@Crab-Prog
Posted
@migsilva89 I'll look it up. Also I thought the hover was in grey and the selection in orange, I'm going to change that immediately. Thank you for your advices !
@migsilva89
Posted
@Crab-Prog You are welcome :)