mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-25 02:14:11 -05:00
fix(curriculum): update feedback for second and third questions in forms lesson (#63965)
This commit is contained in:
@@ -94,7 +94,7 @@ Place the `<label>` immediately after the `<input>` element in the DOM.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Order alone does not create an association that screen readers can use.
|
||||
Review the example in the lesson showing how `for` and `id` are used together.
|
||||
|
||||
---
|
||||
|
||||
@@ -102,7 +102,7 @@ Use the input's `placeholder` text instead of a label.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Placeholders are not a replacement for accessible, programmatically associated labels.
|
||||
Review the example in the lesson showing how `for` and `id` are used together.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
@@ -110,7 +110,7 @@ Placeholders are not a replacement for accessible, programmatically associated l
|
||||
|
||||
## --text--
|
||||
|
||||
Besides accessibility, what other benefit of associating labels with inputs is mentioned in the lesson?
|
||||
Besides accessibility, what is another benefit of associating labels with inputs?
|
||||
|
||||
## --answers--
|
||||
|
||||
@@ -118,7 +118,7 @@ It makes the page load significantly faster.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Performance is not the benefit discussed in this lesson.
|
||||
Review the end of the lesson for other benefits mentioned.
|
||||
|
||||
---
|
||||
|
||||
@@ -130,7 +130,7 @@ It allows inputs to accept multiple data types automatically.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Data types are determined by the input's `type` attribute, not labels.
|
||||
Review the end of the lesson for other benefits mentioned.
|
||||
|
||||
---
|
||||
|
||||
@@ -138,7 +138,7 @@ It automatically translates labels for international users.
|
||||
|
||||
### --feedback--
|
||||
|
||||
Internationalization is outside the scope of what labels provide.
|
||||
Review the end of the lesson for other benefits mentioned.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user