You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6143908b6aafb00a659ca189.md
Copy file name to clipboardExpand all lines: curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6143920c8eafb00b735746ce.md
Copy file name to clipboardExpand all lines: curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6143931a113bb80c45546287.md
+72-11Lines changed: 72 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,28 +7,76 @@ dashedName: step-23
7
7
8
8
# --description--
9
9
10
-
Arguably, `D.O.B.` is not descriptive enough. This is especially true for visually impaired users. One way to get around such an issue, without having to add visible text to the label, is to add text only a screen reader can read.
10
+
Within the second `section` element, add two `div` elements with a class of `question-block`.
11
11
12
-
Append a `span` element with a class of `sr-only` to the current text content of the third `label` element.
12
+
Then, within each `div.question-block` element, add one `h3` element with text of incrementing numbers, starting at `1`, and one `fieldset` element with a class of `question`.
13
13
14
14
# --hints--
15
15
16
-
You should add a `span` element within the third `label` element.
16
+
You should nest two `div` elements within the second `section` element.
Copy file name to clipboardExpand all lines: curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614394fb41985e0d2012a93e.md
+46-6Lines changed: 46 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,34 @@ dashedName: step-24
7
7
8
8
# --description--
9
9
10
-
Within the `span` element, add the text `(Date of Birth)`.
10
+
The question numbers are not descriptive enough. This is especially true for visually impaired users. One way to get around such an issue, without having to add visible text to the element, is to add text only a screen reader can read.
11
+
12
+
Append a `span` element with a `class` of `sr-only` to each of the `h3` elements.
11
13
12
14
# --hints--
13
15
14
-
You should give the `span` element the text `(Date of Birth)`.
16
+
You should add a `span` element within the first `h3` element.
0 commit comments