Back to Accessibility Report

Axe-coreĀ® Accessibility Results

axe-core found 6 violations

# Description Axe rule ID WCAG Impact Count
1 Buttons must have discernible text button-name WCAG 2 Level A, WCAG 4.1.2 critical 1
2 Elements must meet minimum color contrast ratio thresholds color-contrast WCAG 2 Level AA, WCAG 1.4.3 serious 1
3 All page content should be contained by landmarks region Best practice moderate 4

Failed

1. Buttons must have discernible text

Learn more

button-name

WCAG 2 Level A, WCAG 4.1.2

Ensure buttons have discernible text

critical

Issue Tags: cat.name-role-value wcag2a wcag412 section508 section508.22.a TTv5 TT6.a EN-301-549 EN-9.4.1.2 ACT

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

Element location

.Card-module-subtitleWrapper-xab97

Element source

<button class="Card-module-subtitleWrapper-xab97 Card-module-collapsible-XJxCi LoyaltyReferralCodeView-module-cardSubtitleWrapper-myP9g">

Fix any of the following:

  • Element does not have inner text that is visible to screen readers
  • 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 does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • Element's default semantics were not overridden with role="none" or role="presentation"

2. 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

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

Element location

#referralCodeInput

Element source

<input id="referralCodeInput" class="TextInput-module-input-FqXpF light-theme" data-testid="referralCodeInput" readonly="" name="code" placeholder="Enter code" value="ABC123">

Fix any of the following:

  • Element has insufficient color contrast of 2.19 (foreground color: #afafaf, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1

Related node:

.CardContainer-module-container-ULeqT

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

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

Element location

.Card-module-textContent-oLPhu

Element source

<div class="Card-module-textContent-oLPhu LoyaltyReferralCodeView-module-titleContainer-g1n2t">

Fix any of the following:

  • Some page content is not contained by landmarks
2

Element location

label

Element source

<label for="referralCodeInput" class="InputLabel-module-label-+TgKg InputLabel-module-topLabel-RZQoL">Referral code </label>

Fix any of the following:

  • Some page content is not contained by landmarks
3

Element location

#referralCodeInput

Element source

<input id="referralCodeInput" class="TextInput-module-input-FqXpF light-theme" data-testid="referralCodeInput" readonly="" name="code" placeholder="Enter code" value="ABC123">

Fix any of the following:

  • Some page content is not contained by landmarks
4

Element location

.InputInfoSection-module-label-AyCZz

Element source

<span class="InputInfoSection-module-label-AyCZz undefined">Code accepted! Benefit applied</span>

Fix any of the following:

  • Some page content is not contained by landmarks