@0xabdulkhaliq
Posted
Hello there 👋. 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 "
my personal image for me
" 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 "Abdullah's profile picture for social media" or "Avatar representing Abdullah 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 yourself. So alt with her name itself is enough.
- E.g.
alt="Abdullah Mohamed"
<img alt="Abdullah Mohamed" src="./assets/images/avatar-larg.jpg">
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful
@9dorgham
Posted
Thank you from your comment. Your are right about "alt" attribute believe me I didn't know what should I fill this attribute, so I wrote anything just to fill it out. @0xabdulkhalid