created:12/30/2020
updated:12/30/2020
loc
129
comments
8%

PhotonColor

avatar of atanasster

Color item displaying as a row, with a color block, name, hex value and AA/AAA tests for text and backgorund. Design inspired by Firefox's Photon Design System.

A11y tests

Teal 50
#00feff
AAA
F
Teal 60
#00c8d7
AAA
F
Teal 70
#008ea4
AA
AA+
Teal 80
#005a71
F
AAA
Teal 90
#002d3e
F
AAA
 
impact
id
description
serious
color-contrast

Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds...

summary
target
Fix any of the following: Element has insufficient color contrast of 3.88 (foreground color: #008ea4, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1
.rah-static.rah-static--height-auto[aria-hidden="false"] > div > .css-154oin1[data-testid="story"] > .story-render-container.css-dhmrnb > table > tbody > tr:nth-child(3) > td:nth-child(4) > .css-1uyif2x

Viewport

Teal 50
#00feff
AAA
F
Teal 60
#00c8d7
AAA
F
Teal 70
#008ea4
AA
AA+
Teal 80
#005a71
F
AAA
Teal 90
#002d3e
F
AAA
320px
Teal 50
#00feff
AAA
F
Teal 60
#00c8d7
AAA
F
Teal 70
#008ea4
AA
AA+
Teal 80
#005a71
F
AAA
Teal 90
#002d3e
F
AAA
375px
Teal 50
#00feff
AAA
F
Teal 60
#00c8d7
AAA
F
Teal 70
#008ea4
AA
AA+
Teal 80
#005a71
F
AAA
Teal 90
#002d3e
F
AAA
768px
Teal 50
#00feff
AAA
F
Teal 60
#00c8d7
AAA
F
Teal 70
#008ea4
AA
AA+
Teal 80
#005a71
F
AAA
Teal 90
#002d3e
F
AAA
1024px