product/components/links

ID:
product/components/links
Automated score:
98.3
View JSON file

2 violations: Dark: 2

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

Ensure links are distinguished from surrounding text in a way that does not rely on color. Links must be distinguishable without relying on color. Help URL

HTML

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

Target

.w70 > p > a[href="#"]:nth-child(1)

Summary

Fix any of the following:

  • The link has insufficient color contrast of 1.75:1 with the surrounding text. (Minimum contrast is 3:1, link text: #90c4f9, surrounding text: #f9fafa)
  • The link has no styling (such as underline) to distinguish it from the surrounding text

HTML

<a href="#">inner box</a>

Target

.w70 > p > a[href="#"]:nth-child(2)

Summary

Fix any of the following:

  • The link has insufficient color contrast of 1.75:1 with the surrounding text. (Minimum contrast is 3:1, link text: #90c4f9, surrounding text: #f9fafa)
  • The link has no styling (such as underline) to distinguish it from the surrounding text

HTML

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

Target

.w70 > p > a[href="#"]:nth-child(3)

Summary

Fix any of the following:

  • The link has insufficient color contrast of 1.75:1 with the surrounding text. (Minimum contrast is 3:1, link text: #90c4f9, surrounding text: #f9fafa)
  • The link has no styling (such as underline) to distinguish it from the surrounding text

HTML

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

Target

.s-anchors__danger.s-card.s-anchors > a[href="#"]:nth-child(1)

Summary

Fix any of the following:

  • The link has insufficient color contrast of 1.85:1 with the surrounding text. (Minimum contrast is 3:1, link text: #faa3a3, surrounding text: #f9fafa)
  • The link has no styling (such as underline) to distinguish it from the surrounding text

HTML

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

Target

.s-anchors__danger.s-card.s-anchors > a[href="#"]:nth-child(2)

Summary

Fix any of the following:

  • The link has insufficient color contrast of 1.85:1 with the surrounding text. (Minimum contrast is 3:1, link text: #faa3a3, surrounding text: #f9fafa)
  • The link has no styling (such as underline) to distinguish it from the surrounding text

HTML

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

Target

.s-anchors__danger.s-card.s-anchors > a[href="#"]:nth-child(3)

Summary

Fix any of the following:

  • The link has insufficient color contrast of 1.85:1 with the surrounding text. (Minimum contrast is 3:1, link text: #faa3a3, surrounding text: #f9fafa)
  • The link has no styling (such as underline) to distinguish it from the surrounding text