Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make show information alert colors accessible #88

Closed
haietza opened this issue Nov 4, 2020 · 1 comment
Closed

Make show information alert colors accessible #88

haietza opened this issue Nov 4, 2020 · 1 comment
Assignees

Comments

@haietza
Copy link

haietza commented Nov 4, 2020

Several of the text/background colors used on the assignment/quiz/choice/etc show information alerts are not accessible. Please consider modifying the styles to meet color contrast requirements.

If you are interested, these are the style overrides I put in place in our theme:

// Collapsed topics success alerts
.format-topcoll .ct-activity-date-submitted {
background-color: #d4edda;
}

.format-topcoll .ct-activity-date-submitted a {
color: #155724;
}

// Collapsed topics warning alerts
.format-topcoll .ct-activity-date-nearly-due {
background-color: #FFF3CD;
}

.format-topcoll .ct-activity-date-nearly-due a {
color: #856404;
}

// Collapsed topics danger alerts
.format-topcoll .ct-activity-date-overdue {
background-color: #f8d7da;
}

.format-topcoll .ct-activity-date-overdue a {
color: #721c24;
}

.format-topcoll .ct-activity-date-overdue .text-warning {
color: #721C24 !important;
}

@gjb2048
Copy link
Collaborator

gjb2048 commented Nov 4, 2020

@haietza Thanks for this, I'll look as soon as I can.

@gjb2048 gjb2048 self-assigned this Nov 4, 2020
@gjb2048 gjb2048 closed this as completed Dec 6, 2020
NinaHerrmann pushed a commit to NinaHerrmann/moodle-format_topcoll that referenced this issue Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants