From 461cd883631afe27c0648eed979ca1dc6a63f08d Mon Sep 17 00:00:00 2001 From: Angel Eduardo Date: Thu, 21 Dec 2017 12:35:02 -0400 Subject: [PATCH] add tip for alt attribute for the add-images-to-your-website challenge (#16197) --- challenges/01-responsive-web-design/basic-html-and-html5.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/challenges/01-responsive-web-design/basic-html-and-html5.json b/challenges/01-responsive-web-design/basic-html-and-html5.json index 1a76b669fa..7d202abb09 100644 --- a/challenges/01-responsive-web-design/basic-html-and-html5.json +++ b/challenges/01-responsive-web-design/basic-html-and-html5.json @@ -619,6 +619,7 @@ "<img src=\"https://www.your-image-source.com/your-image.jpg\">", "Note that in most cases, img elements are self-closing.", "All img elements must have an alt attribute. The text inside an alt attribute is used for screen readers to improve accessibility and is displayed if the image fails to load.", + "Ideally the alt attribute should not contain special chars unless needed.", "Let's add an alt attribute to our img example above:", "<img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\">", "
", @@ -2242,4 +2243,4 @@ "ru": {} } ] -} \ No newline at end of file +}