From c8f9482b9c67816253eff95864bf53cdfe791a2b Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Wed, 23 Aug 2023 11:19:20 -0400 Subject: [PATCH] Update src/internal/modal.ts Co-authored-by: Cory LaViska --- src/internal/modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/modal.ts b/src/internal/modal.ts index dfb54f85..680a0e97 100644 --- a/src/internal/modal.ts +++ b/src/internal/modal.ts @@ -58,7 +58,7 @@ export default class Modal { /** * Checks if the `startElement` is already focused. This is important if the modal already - * has an existing focused prior to the first tab key. + * has an existing focus prior to the first tab key. */ startElementAlreadyFocused(startElement: HTMLElement) { for (const activeElement of activeElements()) {