created:4/29/2021
updated:4/29/2021
loc
187
comments
2%
passed
12
coverage
56%

Tree

avatar of atanasster
avatar of @mas764

Hierarchical collapsible tree structure

Tests results

Status
Full name
Title
Time(ms)
Tree.test.ts(12 tests)
passed
Tree > overview
snapshot
234
passed
Tree > overview
accessibility
1184
passed
Tree > items
snapshot
226
passed
Tree > items
accessibility
2963
passed
Tree > search
snapshot
168
passed
Tree > search
accessibility
1666
passed
Tree > largeIndentation
snapshot
157
passed
Tree > largeIndentation
accessibility
2212
passed
Tree > customExpandIcons
snapshot
209
total 12 tests

Tests coverage

Kind
Total
Covered
Skipped
%
Tree.tsx
lines
46
29
0
63.04%
functions
9
5
0
55.55%
statements
48
31
0
64.58%
branches
77
55
0
71.42%

A11y tests

 
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-hidden-focus

Ensures aria-hidden elements do not contain focusable elements...

aria-valid-attr-value

Ensures all ARIA attributes have valid values...

aria-valid-attr

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

button-name

Ensures buttons have discernible text...

color-contrast

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

form-field-multiple-labels

Ensures form field does not have multiple label elements...

identical-links-same-purpose

Ensure that links with the same accessible name serve a similar purpose...

label-title-only

Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes...

label

Ensures every form element has a label...

link-name

Ensures links have discernible text...

nested-interactive

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