Design comparison
SolutionDesign
Community feedback
- @mattstuddertPosted about 5 years ago
Awesome work again, Alex! Just a quick heads up that you can also add the
role="alert"
attribute to the error message. This will ensure it's read out to screen reader users when shown 👍1@AlexBueckigPosted about 5 years ago@mattstuddert Thanks a lot for this useful tip, I actually did not know about this yet! 😃 I'll definiately use this from now on in future projects!
0@mattstuddertPosted about 5 years ago@AlexBueckig you're welcome! Yeah, it's definitely a good thing to know. Here's a great MDN article with some more information.
1
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