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

Update orange code highlight colour to meet minimum AA colour contrast ratio criterion #189

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

kr8n3r
Copy link
Contributor

@kr8n3r kr8n3r commented Jul 28, 2020

What

Update orange code highlight colour to meet minimum AA colour contrast ratio criterion

Had to use a custom colour as govuk-colour("orange") - #f47738 doesn't meet the AA contrast ratio requirement when on light grey code background.

Visual change

Before

before

With govuk-colour("orange")

with-govuk-orange

After

after-with-custom-orange

To meet minimum accessibility contrast ratio criterion.

Had to use a custom colour as `govuk-colour("orange")` - `#f47738`
doesn't meet the AA contrast ratio requirement when on light grey code
background.
Copy link

@injms injms left a comment

Choose a reason for hiding this comment

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

🧡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants