
Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
I was getting accessibility error [role='img'] elements must have an alternative text
For I which I need to add aria-label
to ion-icon
tag to get rid of the error.
But it's parent element also requires an aria-label
.
I think if we add aria-label
on both the screen reader will read the same thing twice.
What would be ideal solution in this case?
Community feedback
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