Make proposition image meet colour contrast

The message text in our previous illustration was white on light blue,
which didn’t meet WCAG AA colour contrast. WCAG AA requires a contrast
ratio of 4.5:1. The text in our image was only 3.8:1.

The text in this new image has a contrast ratio of 19.8:1, so easily
passes WCAG AAA.

Required a slight tweak to the positioning of the image because it’s
dimensions weren’t exactly the same as the previous one.
This commit is contained in:
Chris Hill-Scott
2017-02-20 09:25:12 +00:00
parent 1f679a95be
commit e3dd8fd018
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -16,7 +16,7 @@
background-image: file-url('product/proposition-illustration.png');
background-size: 320px;
background-repeat: no-repeat;
background-position: right -14px top 85px;
background-position: right -6px top 85px;
@include ie-lte(8) {
background-image: none;