-
Bug
-
Resolution: Fixed
-
Major
-
3.10.7, 3.11.3
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MDL-72669-master -
-
2
-
HQ Team International Sprin 10, HQ Team International CI H2-21
Error found using W3C Nu Validation Service and filtered to indicate WCAG errors only.
|
This seems to point to the select element's option with a blank answer in a Cloze question.
From NuHTML validator:
Error: Element option without attribute label must not be empty.
|
The HTML sample in question:
<p>The first Moodle Research conference was held in
|
<span class="subquestion"><label class="subq accesshide" for="q18:12_sub1_answer">Answer</label><select id="q18:12_sub1_answer" disabled="disabled" class="select custom-select incorrect" name="q18:12_sub1_answer">
|
<option value=""></option>
|
<option selected="selected" value="0">Sousse, Tunisia</option>
|
<option value="1">California, USA</option>
|
<option value="2">Crete, Greece</option>
|
<option value="3">Greece</option>
|
</select><i class="icon fa fa-remove text-danger fa-fw " title="Incorrect" aria-label="Incorrect"></i><span class="feedbackspan accesshide">Incorrect<br />That was the second<br />The correct answer is: Crete, Greece<br />Mark 0.00 out of 1.00</span></span></p>
|