-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.3
-
None
-
MOODLE_401_STABLE
MDL-77856 helpfully fixed an accessibility issue caused by incorrectly nested elements for the feedback display for multianswer questions.
Unfortunately, the fix has broken a key display feature in my context, which involves language teaching with pointed Hebrew. I had been able to apply styles to the feedback display (including correct answer) as part of applying styles to a sub-question text in the Quiz activity, so that the text shown was the same font and font size as the given answer.
The fix also removed the ability to hover over the given answer on desktop and see the feedback display, which was helpful.
Previously, I had applied a class style to the <p> element for the sub-question which applied a particular font-size and font-family so that the text could be seen more clearly for certain languages.
This used to be applied to the feedback display as well, but now is not, given the popover overlay structure.
The result is that I, as a teacher, and my students will find it very difficult to see the language text in the feedback display. See example screenshot:
Is there any way to recover the behaviour for the feedback display to be styled along with its corresponding sub-question?
Is it possible to restore the behaviour where the feedback display appears when hovering over the given answer on desktop?
WHAT I EXPECTED: Feedback display would be styled the same as the sub-question, and would appear on hover (as per 4.1.2 and previous)
WHAT ACTUALLY HAPPENS: Feedback display has a fixed style applied, and does not appear on hover.
FULL STEPS:
- Set up a custom CSS style ("customhebrew") on your site with specific font-family and font-size (mine is font-family: "SBL Hebrew","Times New Roman",serif; font-size: 2rem; for reference)
- Set up a Quiz activity with (Embedded Answers (Cloze) question
- Add a Short Answer subquestion with a correct answer, e.g. pointed Hebrew text
- In the HTML, add style="customhebrew" to the <p> element
- Complete the Quiz as a student, e.g. with pointed Hebrew text
- View the completed Quiz as a student or teacher, and click the tick or cross to view the feedback display
Please let me know if I can provide any more info to assist with finding a helpful solution on all fronts.
Thanks!
- is a regression caused by
-
MDL-77856 HTML parsing error related to qtype_multianswer feedback in its subquestions
-
- Closed
-