Theme colour contrast fails for <code> tag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There appears to be a <code> tag used throughout Mahara which has styling that is failing contrast checks.
When inspecting an element inside of <code> tags, the styling is as follows:
code {
font-size: 87.5%;
color: #e83e8c;
word-break: break-word;
}
The colour values are failing the colour contrast for normal text in this tool found here: https:/
The <code> tag features in these places:
Admin menu -> Configure site -> Site options -> Security settings help text for:
pathtoclam,
pathtofile,
remoteavatars,
viruschecking
Admin menu -> Extensions -> Plugin administration -> Elasticsearch help text:
affecting 11 files (all of the help text files)
The styling of the <code> will need to be either updated, or perhaps discarded in favour of a different element and class instead.
Changed in mahara: | |
status: | New → Triaged |
Changed in mahara: | |
milestone: | none → 20.10.0 |
status: | Triaged → Fix Committed |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/11054