theKashey / focus-lock

Gotcha! A11y util for scoping a focus.
MIT License
172 stars 17 forks source link

Shadow dom support #31

Closed theKashey closed 2 years ago

theKashey commented 2 years ago

based on #30

codecov[bot] commented 2 years ago

Codecov Report

Merging #31 (1b21806) into master (e228fee) will decrease coverage by 0.13%. The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   82.40%   82.26%   -0.14%     
==========================================
  Files          20       21       +1     
  Lines         324      344      +20     
  Branches       63       68       +5     
==========================================
+ Hits          267      283      +16     
- Misses         52       55       +3     
- Partials        5        6       +1     
Impacted Files Coverage Δ
src/tabHook.ts 100.00% <ø> (ø)
src/utils/array.ts 100.00% <ø> (ø)
src/focusIsHidden.ts 50.00% <33.33%> (-10.00%) :arrow_down:
src/utils/getActiveElement.ts 50.00% <50.00%> (ø)
src/setFocus.ts 31.81% <75.00%> (+12.77%) :arrow_up:
src/focusInside.ts 91.66% <100.00%> (+0.75%) :arrow_up:
src/focusMerge.ts 86.48% <100.00%> (-2.09%) :arrow_down:
src/focusables.ts 35.71% <100.00%> (ø)
src/index.ts 100.00% <100.00%> (ø)
src/sibling.ts 87.50% <100.00%> (-3.81%) :arrow_down:
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e228fee...1b21806. Read the comment docs.

theKashey commented 2 years ago

🥵 oh, I will not skip chores anymore....