Responsive email form using RegExp and Flexbox
Design comparison
Solution retrospective
Any tips for how I can create the facebook/socials icons better? I had some trouble centering them inside their circle border. Thanks in advance!
Community feedback
- @catherineisonlinePosted almost 2 years ago
Looks great! To avoid accessibility problems with the social media icons where you don't want to use text inside <a> tags, you can create a <span> tag inside the <a> tag with description text but visually hide it. Another option is also aria-hidden="true" but as I know it's also not advised.
Marked as helpful0 - @VCaramesPosted almost 2 years ago
Hey there! π Here are some suggestions to help improve your code:
- The logo, heading and paragraph should **be wrapped inside*8 a
header
that is outside themain
element.
- The βillustrationβ in this component serve no other purpose than to be decorative; it adds no value. Its
alt tag
should be left blank and have anaria-hidden=βtrueβ
to hide it from assistive technology.
More Info:π
https://www.w3.org/WAI/tutorials/images/
- The social media icons should have a
aria-label
to improve accessibility.
- Your validation needs some improvement, since the following email is considered valid; email@email@[email protected]
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding!ππ
0 - The logo, heading and paragraph should **be wrapped inside*8 a
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