Design comparison
Community feedback
- @pperdanaPosted over 1 year ago
Hello there๐!! Congratulations on completing this challange.
- I have some additional recommendations for your code that I think you'll find interesting and valuable.
๐ Best practices on using
alt
attributesfor example code
<img src="images/image-header-desktop.jpg" alt="Image" />
If you set the
alt
attribute of an image to the value "image", it may not provide enough context or information for people using assistive technologies such as screen readers to understand the purpose or content of the image.For example, if you have an image of a dog, a more appropriate
alt
attribute might be "A brown Labrador Retriever running in a grassy field", rather than just "image".for your case you also chould update it
<img src="images/image-header-desktop.jpg" alt="Header Desktop" />
By providing a more descriptive alt attribute, you can improve the accessibility and usability of your website for all users, including those with disabilities.
I hope you found this helpful! ๐
Happy coding๐ค
Marked as helpful0
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