created:3/5/2021
updated:3/5/2021
loc
14
comments
21%
passed
2
coverage
0%

Link

avatar of atanasster

Configurable anchor link with a LinkContext. Also checks if the link is intrenal to the site/app or external.

Tests results

Status
Full name
Title
Time(ms)
Link.test.ts(2 tests)
passed
Link > overview
snapshot
58
passed
Link > overview
accessibility
137
total 2 tests

Tests coverage

Kind
Total
Covered
Skipped
%
Link.tsx
lines
11
10
0
90.9%
functions
1
1
0
100%
statements
12
11
0
91.66%
branches
1
0
0
0%

A11y tests

 
id
description
color-contrast

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

identical-links-same-purpose

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

link-name

Ensures links have discernible text...

Viewport