From 28facf9551ca1c3a4c793499860ec0d9cdc4e5cd Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Wed, 23 Aug 2023 11:19:14 -0400 Subject: [PATCH] Update src/internal/tabbable.ts Co-authored-by: Cory LaViska --- src/internal/tabbable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/tabbable.ts b/src/internal/tabbable.ts index 4baa4c83..c4aa8c75 100644 --- a/src/internal/tabbable.ts +++ b/src/internal/tabbable.ts @@ -89,7 +89,7 @@ export function getTabbableElements(root: HTMLElement | ShadowRoot) { /** * This looks funky. Basically a slots children will always be picked up *if* they're within the `root` element. - * However, there is an edge case if the `root` is wrapped by another shadowDOM, it won't grab the children. + * However, there is an edge case when, if the `root` is wrapped by another shadow DOM, it won't grab the children. * This fixes that fun edge case. */ const slotChildrenOutsideRootElement = (slotElement: HTMLSlotElement) =>