From 764d22e7d8d794988ccb6cc105e69f178ec97a37 Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Wed, 23 Aug 2023 11:19:27 -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 c4aa8c75..74ea7674 100644 --- a/src/internal/tabbable.ts +++ b/src/internal/tabbable.ts @@ -88,7 +88,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. + * This looks funky. Basically a slot's children will always be picked up *if* they're within the `root` element. * 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. */