From f6f58d3228f867a09412ea565605b2b9655dd6be Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 10 Feb 2019 21:03:56 +0530 Subject: [PATCH] Remove unwanted comma (#26050) --- ...-images-for-visually-impaired-accessibility.english.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md index 2812960de4..ed3221c0d2 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md @@ -11,12 +11,12 @@ guideUrl: 'https://www.freecodecamp.org/guide/certificates/add-alt-text-to-an-im It's likely you've seen an alt attribute on an img tag in other challenges. Alt text describes the content of the image and provides a text-alternative. This helps in case the image fails to load or can't be seen by a user. It's also used by search engines to understand what an image contains to include it in search results. Here's an example: <img src="importantLogo.jpeg" alt="Company logo"> People with visual impairments rely on screen readers to convert web content to an audio interface. They won't get information if it's only presented visually. For images, screen readers can access the alt attribute and read its contents to deliver key information. -Good alt text is short but descriptive, and meant to briefly convey the meaning of the image. You should always include an alt attribute on your image. Per HTML5 specification, this is now considered mandatory. +Good alt text is short but descriptive and meant to briefly convey the meaning of the image. You should always include an alt attribute on your image. Per HTML5 specification, this is now considered mandatory. ## Instructions
-Camper Cat happens to be both a coding ninja and an actual ninja, and is building a website to share his knowledge. The profile picture he wants to use shows his skills, and should be appreciated by all site visitors. Add an alt attribute in the img tag, that explains Camper Cat is doing karate. (The image src doesn't link to an actual file, so you should see the alt text in the display.) +Camper Cat happens to be both a coding ninja and an actual ninja and is building a website to share his knowledge. The profile picture he wants to use shows his skills and should be appreciated by all site visitors. Add an alt attribute in the img tag, that explains Camper Cat is doing karate. (The image src doesn't link to an actual file, so you should see the alt text in the display.)
## Tests @@ -24,8 +24,8 @@ Camper Cat happens to be both a coding ninja and an actual ninja, and is buildin ```yml tests: - - text: Your img tag should have an alt attribute, and it should not be empty. - testString: assert($('img').attr('alt'), 'Your img tag should have an alt attribute, and it should not be empty.'); + - text: Your img tag should have an alt attribute and it should not be empty. + testString: assert($('img').attr('alt'), 'Your img tag should have an alt attribute and it should not be empty.'); ```