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

WCAG Level AAA: Contrast (Enhanced) - Link #134

Open
Tracked by #141
Sparrow0hawk opened this issue Jul 31, 2024 · 0 comments
Open
Tracked by #141

WCAG Level AAA: Contrast (Enhanced) - Link #134

Sparrow0hawk opened this issue Jul 31, 2024 · 0 comments
Labels
accessibility Improves accessibility

Comments

@Sparrow0hawk
Copy link
Contributor

Sparrow0hawk commented Jul 31, 2024

Low Priority WCAG Level AAA

Contrast (Enhanced)

Colours used failed to meet the required contrast ratios to meet the WCAG 2.2 enhanced success criteria.

WCAG Reference:

1.4.6 Contrast (Enhanced) (Level AAA)
Understanding Contrast (Enhanced) | How to Meet Contrast (Enhanced)

Issue ID: DAC_Contrast_Enhanced_01

URL: https://test.update-your-capital-schemes.activetravelengland.gov.uk/schemes
Page title: 'Update your capital schemes - Active Travel England - GOV.UK'
H1 heading: 'Your schemes'
Journey: 1.1a

Screenshot:
constrast1

On the 'Update your capital schemes' page and subsequent pages throughout the journey, as this is the default GOV.UK Design System colour, there are links that have insufficient contrast to meet WCAG 2.2 Contrast (Enhanced) requirements.

This can affect low vision users, who require higher levels of contrast to be able to comfortably read text.

Contrast values:

Background colour: #FFFFFF
Text colour: #1D70b8
Font size: 1.1875rem / 19px
Contrast ratio: 5.17:1

Current code ref(s):

body > div.govuk-width-container > div > p > span > a

<a class="govuk-link" href="mailto:[email protected]">
   Feedback
</a>

CSS:

.govuk-link:link
{
   color: #1d70b8;
}

Examples of additional instances:

Additional instances of this issue may exist on other pages throughout the website; wherever this issue occurs, they too will need to be resolved.

Solution:

Ensure that all text and any elements that provide information to the user pass colour contrast (enhanced).

For sites to meet AAA, they must comply with WCAG 2.2 checkpoint 1.4.6 for colour contrast.

As far as contrast ratio is concerned, it must at least be:

  1. if text is not bold and its size is less than 18pt/24px/1.5em/150%: 7:1 for AAA level
  2. if text is not bold and its size is at least 18pt/24px/1.5em/150%: 4.5:1 for AAA level
  3. if text is bold and its size is less than 14pt/19px/1.2em/118%: 7:1 for AAA level
  4. if text is bold and its size is at least 14pt/19px/1.2em/118%: 4.5:1 for AAA level
@Sparrow0hawk Sparrow0hawk added the accessibility Improves accessibility label Jul 31, 2024
@Sparrow0hawk Sparrow0hawk changed the title WCAG Level AAA: Contrast (Enhanced) WCAG Level AAA: Contrast (Enhanced) - govuk-link Jul 31, 2024
@markhobson markhobson changed the title WCAG Level AAA: Contrast (Enhanced) - govuk-link WCAG Level AAA: Contrast (Enhanced) - Links Aug 2, 2024
@markhobson markhobson changed the title WCAG Level AAA: Contrast (Enhanced) - Links WCAG Level AAA: Contrast (Enhanced) - Link Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Improves accessibility
Projects
None yet
Development

No branches or pull requests

1 participant