created:4/29/2021
updated:4/29/2021
loc
49
comments
43%
passed
10
coverage
44%

Donut

avatar of atanasster

Overview

some text

Test data

select
#
size
strokeWidth
value
min
max
title
1
184
3
0
1
2
Bernadette Langosh Jr.
2
97
2
1
0
0
Pearlie Altenwerth
3
246
1
1
1
2
Lemuel Kris
4
215
1
1
0
2
Jaquan Jakubowski
5
169
4
1
0
0
Tanya Sanford
5 data rows

Controls

Name
Description
Default
Controls
size

svg area size

number
128
strokeWidth

circle stroke size

number
2
value

initial value = between min and max

number
0
min

minimum value

number
0
max

maximum value

number
1
title

a title for the graphic

string
-

Tests results

Status
Full name
Title
Time(ms)
Donut.test.ts(10 tests)
passed
Donut > overview > 1
snapshot
65
passed
Donut > overview > 1
accessibility
166
passed
Donut > overview > 2
snapshot
44
passed
Donut > overview > 2
accessibility
155
passed
Donut > overview > 3
snapshot
63
passed
Donut > overview > 3
accessibility
163
passed
Donut > overview > 4
snapshot
77
passed
Donut > overview > 4
accessibility
175
passed
Donut > overview > 5
snapshot
105
total 10 tests

Tests coverage

Kind
Total
Covered
Skipped
%
Donut.tsx
lines
8
8
0
100%
functions
1
1
0
100%
statements
9
9
0
100%
branches
9
4
0
44.44%

A11y tests

some text
 
id
description
aria-allowed-attr

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

aria-allowed-role

Ensures role attribute has an appropriate value for the element...

aria-required-attr

Ensures elements with ARIA roles have all required ARIA attributes...

aria-roles

Ensures all elements with a role attribute use a valid value...

aria-valid-attr-value

Ensures all ARIA attributes have valid values...

aria-valid-attr

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

nested-interactive

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

svg-img-alt

Ensures <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text...

Viewport

some text
320px
some text
375px
some text
768px
some text
1024px