From 43661cf867796037f93f1a7fb640f94b2cd1d1ea Mon Sep 17 00:00:00 2001 From: Shiva Sai <112751524+Shiva-Sai-ssb@users.noreply.github.com> Date: Thu, 17 Oct 2024 23:50:59 +0530 Subject: [PATCH] fix(curriculum): replace asterisks with "(required)" for accessibility (#56725) --- .../66a84111965a0c46df6bbd0a.md | 6 +++--- .../66a930b20f589b6664c51cb0.md | 2 +- .../66a93730719e1f68410cce54.md | 2 +- .../66a937e74920ba68ebe5e86d.md | 2 +- .../66a93bbe65a26169dbf3bc39.md | 8 ++++---- .../66a93c95bc58e26a8fe95818.md | 4 ++-- .../66a9401c9d660d6bb15993e2.md | 10 +++++----- .../66a9419e2d18476c645ce693.md | 6 +++--- .../66a94ea5df66236ebed260e8.md | 6 +++--- .../66a9521bc70162712caf118d.md | 6 +++--- .../66a954b2bcddba72076c1857.md | 6 +++--- .../66a9577022877d72d8f43b4f.md | 6 +++--- .../66a95d0eff8168747805f1f3.md | 6 +++--- .../66a96127422411756204bc1b.md | 6 +++--- .../66a962954f4e0d76223b37ed.md | 6 +++--- .../66a9689b1bf24b7750898a1b.md | 6 +++--- .../66a969951120be7818d8ee49.md | 6 +++--- .../66a96b01f33ef178dfca9e42.md | 6 +++--- .../66a972137acd1179fa3fe8a0.md | 6 +++--- .../66a975260401487af226b290.md | 6 +++--- .../66a975c259525b7bc2d5c776.md | 6 +++--- .../66a97ca8c4cbae7d0bb6e0ad.md | 6 +++--- .../66a97f40ddd40d7deb0618b7.md | 6 +++--- .../66a9824ac5d9f77ec304969f.md | 6 +++--- .../66a9836b339fed7f9a8fe35a.md | 6 +++--- .../66a9843525e9fa8046d709b7.md | 12 ++++++------ .../66ad24c7eb8c121000c603a6.md | 6 +++--- 27 files changed, 80 insertions(+), 80 deletions(-) diff --git a/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a84111965a0c46df6bbd0a.md b/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a84111965a0c46df6bbd0a.md index 40935af1dbc..411b9b9bfac 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a84111965a0c46df6bbd0a.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a84111965a0c46df6bbd0a.md @@ -16,7 +16,7 @@ In the previous lecture videos, you learned how to associate a `label` element w The `for` attribute on the `label` element should match the `id` attribute on the `input` element. This is known as an explicit association. -Below your `legend` element, add a `label` element with the text of `Name*:`. For the `for` attribute, set it to the value of `"full-name"`. +Below your `legend` element, add a `label` element with the text of `Name (required):`. For the `for` attribute, set it to the value of `"full-name"`. Then below your `legend` element, add an `input` element with no attributes. In the next steps, you will add the necessary attributes. @@ -47,11 +47,11 @@ const label = document.querySelector('fieldset label'); assert.strictEqual(label.getAttribute('for'), 'full-name'); ``` -Your `label` element should have the text of `Name*:`. +Your `label` element should have the text of `Name (required):`. ```js const label = document.querySelector('fieldset label'); -assert.strictEqual(label.innerText, 'Name*:'); +assert.strictEqual(label.innerText, 'Name (required):'); ``` You should have an `input` element. diff --git a/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a930b20f589b6664c51cb0.md b/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a930b20f589b6664c51cb0.md index 4a1cf2d0d1d..068c7e8ddab 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a930b20f589b6664c51cb0.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a930b20f589b6664c51cb0.md @@ -70,7 +70,7 @@ assert.strictEqual(input.getAttribute('id'), 'full-name');