Design comparison
Solution retrospective
All Feedback is welcome
Community feedback
- @vanzasetiaPosted over 1 year ago
Hi, John! 👋
Not every image needs alternative text. Decorative images should not have alternative text (
alt=""
). This will tell the screen reader to skip over the image. As a result, it saves screen reader users time navigating the page.For your information, decorative images are images that don't add any information and serve only aesthetic purposes.
In this case, the illustration and the music icon are decorative images.
In your CSS, I notice this selector
main .contents .title
while that only needs to be.title
. Don't nest selectors unnecessarily. Remember to keep the CSS specificity as low and flat as possible.I hope you find this useful. Happy coding! 😄
Marked as helpful1
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