system/foundation/typography

ID:
system/foundation/typography
Automated score:
99
View JSON file

1 violations: HC Dark: 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

<code class="bg-black-250">.ow-break-word</code>

Target

.hyphens-none > .bg-black-250

Summary

Fix any of the following:

  • Element has insufficient color contrast of 4.74 (foreground color: #ffffff, background color: #737373, font size: 9.8pt (13px), font weight: normal). Expected contrast ratio of 7:1

HTML

<code class="bg-black-250">.ow-break-word</code>

Target

.hyphens-auto > .bg-black-250

Summary

Fix any of the following:

  • Element has insufficient color contrast of 4.74 (foreground color: #ffffff, background color: #737373, font size: 9.8pt (13px), font weight: normal). Expected contrast ratio of 7:1