From acbc07e0fff6bb67b6739022a78a56a22affbfca Mon Sep 17 00:00:00 2001 From: adamthahir Date: Sat, 15 Jun 2019 09:02:01 +0300 Subject: [PATCH] Fixed typo addressed in #36225 (#36227) * Fixed typo addressed in #36225 * Updated as per discussion. --- .../know-when-alt-text-should-be-left-blank.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md index d3d145273a..513fc4a78f 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md @@ -7,7 +7,7 @@ videoUrl: 'https://scrimba.com/c/cM9P4t2' ## Description
-In the last challenge, you learned that including an alt attribute on img tags is mandatory. However, sometimes images are grouped with a caption already describing them, or are used for decoration only. In these cases alt text may seem redundant or unnecessary. +In the last challenge, you learned that including an alt attribute when using img tags is mandatory. However, sometimes images are grouped with a caption already describing them, or are used for decoration only. In these cases alt text may seem redundant or unnecessary. In situations when an image is already explained with text content, or does not add meaning to a page, the img still needs an alt attribute, but it can be set to an empty string. Here's an example: <img src="visualDecoration.jpeg" alt=""> Background images usually fall under the 'decorative' label as well. However, they are typically applied with CSS rules, and therefore not part of the markup screen readers process.