diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md index b6ce15dbfd..9c346c9357 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md @@ -24,8 +24,10 @@ The link text that Camper Cat is using is not very descriptive without the surro tests: - text: Your code should move the anchor a tags from around the words "Click here" to wrap around the words "information about batteries". testString: assert($('a').text().match(/^(information about batteries)$/g)); - - text: Make sure your a element has a closing tag. - testString: assert(code.match(/<\/a>/g) && code.match(/<\/a>/g).length === code.match(//g).length); + - text: Your a element should have an href attribute with a value of an empty string "". + testString: assert($('a').attr('href') === ''); + - text: Your a element should have a closing tag. + testString: assert($('a').length === code.match(/<\/a>/g).length); ```