Update 1-getting-started-lessons/3-accessibility/README.md

Co-authored-by: Christopher Harrison <chrhar@microsoft.com>
pull/86/head
Jen Looper 4 years ago committed by GitHub
parent 633183542f
commit 20631f7440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -145,7 +145,6 @@ You can use `aria-label` to describe the link when the format of the page doesn'
## Images
It goes without saying screen readers are unable to automatically read what's in an image. Ensuring images are accessible doesn't take much work - it's what the `alt` attribute is all about. All meaningful images should have an `alt` to describe what they are.
Images that are purely decorative should have their `alt` attribute set to an empty string: `alt=""`. This prevents screen readers from unnecessarily announcing the decorative image.
✅ As you might expect, search engines are also unable to understand what's in an image. They also use alt text. So once again, ensuring your page is accessible provides additional bonuses!

Loading…
Cancel
Save