-
Notifications
You must be signed in to change notification settings - Fork 108
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
Bug report - color contrast on course completion page not accessible #1874
Comments
Thanks for logging this Ben, I will do my best to look into it in the coming week. |
The text is using CSS on the h3 tag which has color: #555 !important; The header tag wrapping the h3 tag has class I'm thinking the background color can be changed within the _sensei.scss file
See screenshot of test |
The change to _sensei.scss file has been added to the PR. Initially, there was a build error but I was able to fix this by changing permissions to read/write. I'm curious as to why I had the issue with composer.lock as my first PR work with you, awhile back, didn't have this issue. I did change computers recently and redid the entire setup of my local dev environment prior to doing this PR work. Thanks @jonathanbossenger |
@cynthianorman thanks for your patience here.
It looks like you've added a dev dependency somewhere along the line, possibly by accident
My suggestion would be to copy the existing |
@jonathanbossenger thank you for pointing out that dependency. I removed it and reran locally to make sure I could still build the project and it worked fine. When I copied the exact version of the composer.lock file from WP/Learn my build locally was failing. I pushed my composer.lock change with the dependency removed to the PR. At this point, is there anything else I need to do for this PR in order to have the background colour modified using my additional CSS? |
New PR created with CSS added to sensei file |
PR has been merged and deployed. @cynthianorman @bsanevans @jonathanbossenger please verify the fix and close if satisfied 🙂 |
Yes, much better! Thanks you all 🙌 |
Thanks everyone! |
Description
The color contrast of lesson titles on a course completion page are not accessible. It should probably be plain white on the black background.
Step-by-step reproduction instructions
Expected behaviour
It should probably be plain white text.
Environment information
The text was updated successfully, but these errors were encountered: