Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83647

The code highlighter filter can display text within code blocks that have poor colour contrast

XMLWordPrintable

    • 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:

      1. Log in as admin
      2. Go to Site administration > Plugins > Filters > Manage filters
      3. Enable the Code highlighter filter.
      4. Restore the example course backup CodeExamplesBackup.mbz.
      5. Go to the restored course
      6. Run axe DevTools on the page.
      7. Expected: There are no errors related to colour contrast.
      8. Actual: There's a bunch of errors related to colour contrast.

            Unassigned Unassigned
            jpataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.