created:3/13/2021
updated:3/13/2021
loc
43
comments
26%
passed
10
coverage
43%
InfoTip
Displays an information icon with markdown-enabled popup on hover
Name | Description | Default | Controls | |
---|---|---|---|---|
-(1 properties) | ||||
children | text | # Header H1 ## Header H2 ### Header H3 #### Header H4 ##### Header H5 some text | ||
InfoTipProps(1 properties) |
Status | Full name | Title | Time(ms) | |
---|---|---|---|---|
InfoTip.test.ts(10 tests) | ||||
passed | InfoTip > overview > 1 | snapshot | 137 | |
passed | InfoTip > overview > 1 | accessibility | 153 | |
passed | InfoTip > overview > 2 | snapshot | 37 | |
passed | InfoTip > overview > 2 | accessibility | 165 | |
passed | InfoTip > overview > 3 | snapshot | 50 | |
passed | InfoTip > overview > 3 | accessibility | 114 | |
passed | InfoTip > overview > 4 | snapshot | 300 | |
passed | InfoTip > overview > 4 | accessibility | 415 | |
passed | InfoTip > overview > 5 | snapshot | 82 |
total 10 tests
Kind | Total | Covered | Skipped | % | |
---|---|---|---|---|---|
InfoTip.tsx | |||||
lines | 10 | 9 | 0 | 90% | |
functions | 2 | 1 | 0 | 50% | |
statements | 11 | 10 | 0 | 90.9% | |
branches | 7 | 3 | 0 | 42.85% |
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... | |
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 | Ensure controls are not nested as they are not announced by screen readers... |