Design comparison
SolutionDesign
Community feedback
- @0xabdulkhaliqPosted 8 months ago
Vanakkam Nanba 👋. Congratulations on successfully completing the challenge! 🎉
- I have a suggestion regarding your code that I believe will be of great interest to you.
IMPROPER USAGE OF ALT 📸:
- The alt text "avatar for social link" is somewhat vague and not descriptive enough.
- It fails to adequately convey the content or purpose of the image, which is essential for accessibility and user experience.
- A more appropriate alt text could describe the specific content or function of the avatar, such as "Jessica's profile picture for social media" or "Avatar representing Jessica for social link." This would provide clearer information to users who rely on screen readers or encounter image loading issues.
- The
alt
attribute should explain the purpose of theimage
, in our case the image is a portrait of Jessica. So alt with her name itself is enough.
- E.g.
alt="Jessica"
<img class="avatarImage" src="avatar-jessica.jpeg" alt="Jessica">
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0@Chand5120Posted 8 months ago@0xabdulkhalid Thanks for the feedback bro, I will rectify it
0 - @IzukammaPosted 8 months ago
love it! love the use of react too
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