mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-77856 qtype_multianswer: Use Bootstrap Popover for subq feedback
The YUI Overlay widget encloses the subquestion feedback in a div which causes a div element to be enclosed in the subquestion span. This leads to an accessibility issue in terms of HTML parsing as inline elements (span) should not contain block elements (div) The YUI Overlay widget is also not accessible as it does not really hide the overlay contents via aria-hidden when the overlay is not being shown. It's better if we stop using this and use Bootstrap's popover component which is more accessible by default. This patch also removes module.js for the qtype_multianswer plugin as it only contains codes related to rendering the feedback contents in the YUI overlay widget which is no longer necessary.
- Loading branch information
1 parent
fba0658
commit e3c0c2f
Showing
3 changed files
with
30 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters