created:4/4/2021
updated:4/4/2021
loc
167
comments
7%
passed
10
coverage
11%

ColorEditor

avatar of atanasster

Color control editor.

Tests results

Status
Full name
Title
Time(ms)
ColorEditor.test.ts(10 tests)
passed
ColorEditor > overview
snapshot
64
passed
ColorEditor > overview
accessibility
122
passed
ColorEditor > rgb
snapshot
23
passed
ColorEditor > rgb
accessibility
76
passed
ColorEditor > rgba
snapshot
18
passed
ColorEditor > rgba
accessibility
88
passed
ColorEditor > hsl
snapshot
171
passed
ColorEditor > hsl
accessibility
320
passed
ColorEditor > hsla
snapshot
59
total 10 tests

Tests coverage

Kind
Total
Covered
Skipped
%
ColorEditor.tsx
lines
34
26
0
76.47%
functions
9
1
0
11.11%
statements
37
29
0
78.37%
branches
36
7
0
19.44%

A11y tests

 
id
description
aria-allowed-attr

Ensures ARIA attributes are allowed for an element's role...

aria-valid-attr-value

Ensures all ARIA attributes have valid values...

aria-valid-attr

Ensures attributes that begin with aria- are valid ARIA attributes...

avoid-inline-spacing

Ensure that text spacing set through style attributes can be adjusted with custom stylesheets...

button-name

Ensures buttons have discernible text...

color-contrast

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

nested-interactive

Ensure controls are not nested as they are not announced by screen readers...

Viewport

320px
375px
768px
1024px