Back to Accessibility Report

Axe-core® Accessibility Results

axe-core found 17 violations

# Description Axe rule ID WCAG Impact Count
1 Elements must meet minimum color contrast ratio thresholds color-contrast WCAG 2 Level AA, WCAG 1.4.3 serious 2
2 Form elements must have labels label WCAG 2 Level A, WCAG 4.1.2 critical 2
3 All page content should be contained by landmarks region Best practice moderate 13

Failed

1. Elements must meet minimum color contrast ratio thresholds

Learn more

color-contrast

WCAG 2 Level AA, WCAG 1.4.3

Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds

serious

Issue Tags: cat.color wcag2aa wcag143 TTv5 TT13.c EN-301-549 EN-9.1.4.3 ACT RGAAv4 RGAA-3.2.1

# Issue Description To solve this violation, you need to...
1

Element location

div:nth-child(4) > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"] > .TextInput-module-editButton-Z-0A\+[type="button"]

Element source

<button class="TextInput-module-editButton-Z-0A+" type="button">Copy</button>

Fix any of the following:

  • Element has insufficient color contrast of 3.73 (foreground color: #3567ff, background color: #e6e7e8, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

Related node:

div:nth-child(4) > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"]
2

Element location

.ReferralPersonalCode-module-codeBlock-FyhG2 > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"] > .TextInput-module-editButton-Z-0A\+[type="button"]

Element source

<button class="TextInput-module-editButton-Z-0A+" type="button">Copy</button>

Fix any of the following:

  • Element has insufficient color contrast of 3.73 (foreground color: #3567ff, background color: #e6e7e8, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

Related node:

.ReferralPersonalCode-module-codeBlock-FyhG2 > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"]

2. Form elements must have labels

Learn more

label

WCAG 2 Level A, WCAG 4.1.2

Ensure every form element has a label

critical

Issue Tags: cat.forms wcag2a wcag412 section508 section508.22.n TTv5 TT5.c EN-301-549 EN-9.4.1.2 ACT RGAAv4 RGAA-11.1.1

# Issue Description To solve this violation, you need to...
1

Element location

div:nth-child(4) > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"] > input

Element source

<input class="TextInput-module-input-FNjui light-theme" data-testid="textInput" readonly="" value="123456">

Fix any of the following:

  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element has no placeholder attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"
2

Element location

.ReferralPersonalCode-module-codeBlock-FyhG2 > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"] > input

Element source

<input class="TextInput-module-input-FNjui light-theme" data-testid="textInput" readonly="" value="123456">

Fix any of the following:

  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element has no placeholder attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"

3. All page content should be contained by landmarks

Learn more

region

Best practice

Ensure all page content is contained by landmarks

moderate

Issue Tags: cat.keyboard best-practice RGAAv4 RGAA-9.2.1

# Issue Description To solve this violation, you need to...
1

Element location

#storybook-root > div > div:nth-child(1) > h3

Element source

<h3 style="margin-bottom: 16px;">shareCodeVariant: shareIcons</h3>

Fix any of the following:

  • Some page content is not contained by landmarks
2

Element location

div:nth-child(1) > div > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-content-jF8PI > h2

Element source

<h2 class="ReferralPersonalCodeWithBackground-module-title-554pL">Give £10, get £20</h2>

Fix any of the following:

  • Some page content is not contained by landmarks
3

Element location

div:nth-child(1) > div > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-content-jF8PI > .ReferralPersonalCodeWithBackground-module-subtitle-vLflp

Element source

<h3 class="ReferralPersonalCodeWithBackground-module-subtitle-vLflp">Share with your friends</h3>

Fix any of the following:

  • Some page content is not contained by landmarks
4

Element location

div:nth-child(1) > div > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-content-jF8PI > .ReferralPersonalCodeWithBackground-module-description-wfsGS

Element source

<p class="ReferralPersonalCodeWithBackground-module-description-wfsGS">

Fix any of the following:

  • Some page content is not contained by landmarks
5

Element location

div:nth-child(4) > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"] > input

Element source

<input class="TextInput-module-input-FNjui light-theme" data-testid="textInput" readonly="" value="123456">

Fix any of the following:

  • Some page content is not contained by landmarks
6

Element location

.ReferralPersonalCodeWithBackground-module-socialRow-cVDeb

Element source

<div class="ReferralPersonalCodeWithBackground-module-socialRow-cVDeb" data-testid="social-media-block">

Fix any of the following:

  • Some page content is not contained by landmarks
7

Element location

div:nth-child(1) > div > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-bottomInfoSection-Y4YLS

Element source

<div class="ReferralPersonalCodeWithBackground-module-bottomInfoSection-Y4YLS">

Fix any of the following:

  • Some page content is not contained by landmarks
8

Element location

div:nth-child(2) > h3

Element source

<h3 style="margin-bottom: 16px;">shareCodeVariant: shareButton</h3>

Fix any of the following:

  • Some page content is not contained by landmarks
9

Element location

.ReferralPersonalCode-module-shareCodeVariantShareButton-3cKfw > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-content-jF8PI > h2

Element source

<h2 class="ReferralPersonalCodeWithBackground-module-title-554pL">Give £10, get £20</h2>

Fix any of the following:

  • Some page content is not contained by landmarks
10

Element location

.ReferralPersonalCode-module-shareCodeVariantShareButton-3cKfw > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-content-jF8PI > .ReferralPersonalCodeWithBackground-module-subtitle-vLflp

Element source

<h3 class="ReferralPersonalCodeWithBackground-module-subtitle-vLflp">Share with your friends</h3>

Fix any of the following:

  • Some page content is not contained by landmarks
11

Element location

.ReferralPersonalCode-module-shareCodeVariantShareButton-3cKfw > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-content-jF8PI > .ReferralPersonalCodeWithBackground-module-description-wfsGS

Element source

<p class="ReferralPersonalCodeWithBackground-module-description-wfsGS">

Fix any of the following:

  • Some page content is not contained by landmarks
12

Element location

.ReferralPersonalCode-module-codeBlock-FyhG2 > .InputWrapper-module-container-3AbF2.CopyCodeButton-module-container-SKdGk[data-testid="textInput-container"] > .InputWrapper-module-wrapper-SGLx2[data-testid="textInputWrapper"] > input

Element source

<input class="TextInput-module-input-FNjui light-theme" data-testid="textInput" readonly="" value="123456">

Fix any of the following:

  • Some page content is not contained by landmarks
13

Element location

.ReferralPersonalCode-module-shareCodeVariantShareButton-3cKfw > .ReferralPersonalCodeWithBackground-module-container-5A8wy.dark-theme[data-testid="referral-personal-code"] > .ReferralPersonalCodeWithBackground-module-bottomInfoSection-Y4YLS

Element source

<div class="ReferralPersonalCodeWithBackground-module-bottomInfoSection-Y4YLS">

Fix any of the following:

  • Some page content is not contained by landmarks