-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.5, 4.5.1
-
MOODLE_404_STABLE, MOODLE_405_STABLE
When the code highlighter filter is enabled, the text within code blocks can have a poor colour contrast against the greyish background.
To reproduce:
- Log in as admin
- Go to Site administration > Plugins > Filters > Manage filters
- Enable the Code highlighter filter.
- Restore the example course backup CodeExamplesBackup.mbz
.
- Go to the restored course
- Run axe DevTools on the page.
- Expected: There are no errors related to colour contrast.
- Actual: There's a bunch of errors related to colour contrast.