A pack of extensions for grommet 2
created:7/7/2021
updated:7/7/2021
loc
263
comments
3%
passed
6
failed
6
coverage
66%

Colors

avatar of atanasster

A color selection element, with custom color palettes.

Tests results

Status
Full name
Title
Time(ms)
Colors.test.ts(12 tests)
failed
Colors > main
snapshot
908
passed
Colors > main
accessibility
8580
failed
Colors > colors
snapshot
146
passed
Colors > colors
accessibility
1880
failed
Colors > onSelect
snapshot
85
passed
Colors > onSelect
accessibility
1353
failed
Colors > size
snapshot
841
passed
Colors > size
accessibility
4413
failed
Colors > columns
snapshot
73
total 12 tests

Tests coverage

Kind
Total
Covered
Skipped
%
Colors.tsx
lines
94
70
0
74.47%
functions
25
18
0
72%
statements
95
71
0
74.74%
branches
35
23
0
65.71%

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...

nested-interactive

Nested interactive controls are not announced by screen readers...

tabindex

Ensures tabindex attribute values are not greater than 0...

Viewport

320px
375px
768px
1024px