product/components/user-cards

ID:
product/components/user-cards
Automated score:
96.7
View JSON file

4 violations: Light: 1 Dark: 1 HC Light: 1 HC Dark: 1

Ensures the contrast between foreground and background colors meets APCA custom level conformance minimums thresholds. Elements must meet APCA conformance minimums thresholds. Help URL

HTML

<div class="s-user-card--type">

Target

.flex--item:nth-child(2) > .wmx2.s-user-card > .s-user-card--type

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 57.58Lc (foreground color: #e7700d, background color: #ffffff, font size: 9.0pt (12px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<a href="#">Hum</a>

Target

.flex--item:nth-child(2) > .wmx2.s-user-card > .s-user-card--type > a[href="#"]

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 57.58Lc (foreground color: #e7700d, background color: #ffffff, font size: 9.0pt (12px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div class="s-user-card--type">

Target

.s-user-card__full.mt16.s-user-card:nth-child(4) > .s-user-card--type

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 57.58Lc (foreground color: #e7700d, background color: #ffffff, font size: 9.0pt (12px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<a href="#">Hum</a>

Target

.s-user-card__full.mt16.s-user-card:nth-child(4) > .s-user-card--type > a[href="#"]

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 57.58Lc (foreground color: #e7700d, background color: #ffffff, font size: 9.0pt (12px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

Ensures the contrast between foreground and background colors meets APCA custom level conformance minimums thresholds. Elements must meet APCA conformance minimums thresholds. Help URL

HTML

<div class="stacks-badge-dotnet--text d-flex flex__center brr-sm px8 py4">Razor</div>

Target

.stacks-badge-dotnet--text

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 45.6Lc (foreground color: #252627, background color: #9e92c7, font size: 9.8pt (13px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<span class="hljs-comment">&lt;!-- Optional --&gt;</span>

Target

section:nth-child(5) > .stacks-preview > pre > .language-html.s-code-block > .hljs-comment

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 45.68Lc (foreground color: #999999, background color: #1d1b1b, font size: 9.8pt (13px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<span class="hljs-comment">&lt;!-- Optional --&gt;</span>

Target

section:nth-child(6) > .stacks-preview > pre > .language-html.s-code-block > .hljs-comment

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 45.68Lc (foreground color: #999999, background color: #1d1b1b, font size: 9.8pt (13px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds. Elements must meet enhanced color contrast ratio thresholds. Help URL

HTML

<a href="#" class="s-user-card--link">Paul Wright</a>

Target

.stacks-preview--example > .s-user-card__highlighted.wmx2.s-user-card > .s-user-card--info > .s-user-card--link[href="#"]

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.68 (foreground color: #145799, background color: #edf5fd, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1

HTML

<a href="#" class="s-user-card--link">Paul Wright</a>

Target

.fw-wrap > .s-user-card--info > .s-user-card--link[href="#"]

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.68 (foreground color: #145799, background color: #edf5fd, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1

Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds. Elements must meet enhanced color contrast ratio thresholds. Help URL

HTML

<a href="#" class="s-user-card--link">Paul Wright</a>

Target

.stacks-preview--example > .s-user-card__highlighted.wmx2.s-user-card > .s-user-card--info > .s-user-card--link[href="#"]

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.87 (foreground color: #8cbff2, background color: #22313f, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1

HTML

<a href="#" class="s-user-card--link">Paul Wright</a>

Target

.fw-wrap > .s-user-card--info > .s-user-card--link[href="#"]

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.87 (foreground color: #8cbff2, background color: #22313f, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1