-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.2
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-70032-master-2 -
The label element for a choice option contains a div that contains the question which is not allowed as per specifications.
To reproduce:
- Create a multi-choice question
- Preview the question
- View the page source, copy it and paste it on Nu HTML Validator.
- Expected
- Validation passes
- Actual
- The following errors are encountered:
Error: Element div not allowed as child of element label in this context. (Suppressing further errors from this subtree.)
From line 530, column 338; to line 530, column 365
a. </span><div class="flex-fill ml-1"><p>Nov
Contexts in which element div may be used:
Where flow content is expected.
As a child of a dl element.
Content model for element label:
Phrasing content, but with no descendant labelable elements unless it is the element's labeled control, and no descendant label elements.
- The following errors are encountered:
- caused a regression
-
MOBILE-3583 Fix multichoice questions for 3.10
- Closed
- Discovered while testing
-
MDL-70004 Invalid role attribute in the label for the "Clear my choice" option
- Closed
- has been marked as being related by
-
MDL-72064 Too easy to accidentally change your answer to a multiple-choice questions
- Closed
-
MDL-70374 Layout of multiple choice questions not well aligned
- Closed
- is a regression caused by
-
MDL-68761 Multiple choice question answers in Moodle 3.9 start on second line
- Closed