Fix a11y of colors used in system emails
What does this MR do and why?
Font colors and background colors adjusted to ensure minimum accessible contrast.
This also necessitated changing some icons that had fixed background colors.
References
Screenshots or screen recordings
| Before | After | GDK URL | |
|---|---|---|---|
| MR approved | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/approved_merge_request_email |
| Pipeline failed | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/pipeline_failed_email |
| Pipeline fixed | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/pipeline_fixed_email |
| Pipeline passed | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/pipeline_success_email |
| MR set to auto-merge | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/merge_when_pipeline_succeeds_email |
| 2fa fail | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/two_factor_otp_attempt_failed_email |
| MR unapproved | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/unapproved_merge_request_email |
| Unknown signin | ![]() |
![]() |
https://gdk.test:3000/rails/mailers/notify/unknown_sign_in_email |
How to set up and validate locally
- Check out this branch
- visit each of the GDK URLs above to see the mailer preview
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Chad Lavimoniere















