From 2762d46c34fae58ddc2166474ab55de49b3d022c Mon Sep 17 00:00:00 2001 From: Vicki League Date: Wed, 12 Nov 2025 09:20:25 -0500 Subject: [PATCH] [CL-806] Use header as autofocus target for dialog component (#17336) --- libs/components/src/dialog/dialog/dialog.component.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/components/src/dialog/dialog/dialog.component.html b/libs/components/src/dialog/dialog/dialog.component.html index 030879deabd..5774d83e349 100644 --- a/libs/components/src/dialog/dialog/dialog.component.html +++ b/libs/components/src/dialog/dialog/dialog.component.html @@ -20,7 +20,9 @@ bitDialogTitleContainer bitTypography="h3" noMargin - class="tw-text-main tw-mb-0 tw-line-clamp-2 tw-text-ellipsis tw-break-words" + class="tw-text-main tw-mb-0 tw-line-clamp-2 tw-text-ellipsis tw-break-words focus-visible:tw-outline-none" + cdkFocusInitial + tabindex="-1" > {{ title() }} @if (subtitle(); as subtitleText) {