-
Sub-task
-
Resolution: Duplicate
-
Major
-
None
-
2.1.8, 2.2.5, 2.3.2
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
Issue
Explicit association - The text field and it's label (Answer) are not associated explicitly with one another - use the <label> element to tag "Answer" and associate it with the <input> field using for and id.
Standard Level
WCAG 2 1.3.1 (A) http://www.w3.org/WAI/WCAG20/quickref/#qr-content-structure-separation-programmatic
Impact
Serious
Example Link
http://demo.moodle.net/
Test Steps
- Login as a teacher
- Navigate to question bank
- Create a question of each type Short answer, Numerical, Calculated and calculated simple
- Click the preview icon next to each
- View the source for the answer field and see that the Answer text is not a label associated with the field