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

Updated checklist tick icon colour contrast #3698

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

garethwilliamsdesign
Copy link
Contributor

Trello card

Trello 5249
Trello 5250

Context

The colour contrast difference between the non-text element’s white colour (#FFFFFF) and the yellow background (#FBBA20) is 1.72:1. This does not meet the AA standard of 3:1.

Also, the colour contrast difference between the non-text element’s yellow colour (#FBBA20) and the grey background (#F0F0F0) is 1.51:1. This does not meet the AA standard of 3:1.

Changes proposed in this pull request

Replace the current tick icon - which, as a rounded Font Awesome icon, does not match the styling of other ticks on the website - with the same tick icon as is used in the GIT logo. Also, remove the yellow background as this only serves to complicate the colour contrast issue.

Guidance to review

Check that the rounded tick in a yellow box has been replaced by a sharper tick in a box, to match the icon in the GIT logo.

@github-actions github-actions bot added ruby Pull requests that update Ruby code test Style labels Nov 13, 2023
@github-actions github-actions bot added the Review_v2 Create AKS review app label Nov 13, 2023
@garethwilliamsdesign garethwilliamsdesign marked this pull request as ready for review November 13, 2023 09:59
@gemmadallmandfe
Copy link
Contributor

gemmadallmandfe commented Nov 13, 2023

Revised icons look much better @garethwilliamsdesign

Couple of comments:

1) Alignment

The icons look good on /landing/how-much-do-teachers-get-paid and /landing/how-to-fund-your-teacher-training but look a bit skewiff on /landing/train-to-teach and /landing/train-to-teach-if-you-have-a-degree where there is only one line of text against each

image

image

2) Windows High Contrast

The icons don't work as well in Windows High Contrast - however, it may be easier to address this as a wider icon issue in a separate PR?

image

@garethwilliamsdesign
Copy link
Contributor Author

I'm happy to address the icon issue in high contrast mode as a separate PR.

Copy link

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

96.2% 96.2% Coverage
0.2% 0.2% Duplication

Copy link
Contributor

@gemmadallmandfe gemmadallmandfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@gemmadallmandfe gemmadallmandfe merged commit 4e69c5a into master Nov 14, 2023
21 checks passed
@gemmadallmandfe gemmadallmandfe deleted the update-checklist-tick-colour-contrast branch November 14, 2023 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review_v2 Create AKS review app ruby Pull requests that update Ruby code Style test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants