From 95ba1b584932bbf4d2ff1fa76d824020aa7ebee2 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 21 Jun 2021 08:52:55 -0400 Subject: [PATCH] update docs --- docs/components/dialog.md | 2 +- docs/components/drawer.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/dialog.md b/docs/components/dialog.md index ada3d12c..29cd3e75 100644 --- a/docs/components/dialog.md +++ b/docs/components/dialog.md @@ -102,7 +102,7 @@ By default, dialogs are closed when the user clicks or taps on the overlay. To p ### Customizing Initial Focus -By default, the dialog's panel will gain focus when opened. To set focus on a different element, listen for the `sl-initial-focus` event. +By default, the dialog's panel will gain focus when opened. This allows the first tab press to focus on the first tabbable element within the dialog. To set focus on a different element, listen for the `sl-initial-focus` event. ```html preview diff --git a/docs/components/drawer.md b/docs/components/drawer.md index 0d5aa54e..59b92f53 100644 --- a/docs/components/drawer.md +++ b/docs/components/drawer.md @@ -190,7 +190,7 @@ By default, drawers are closed when the user clicks or taps on the overlay. To p ### Customizing Initial Focus -By default, the drawer's panel will gain focus when opened. To set focus on a different element, listen for the `sl-initial-focus` event. +By default, the drawer's panel will gain focus when opened. This allows the first tab press to focus on the first tabbable element within the drawer. To set focus on a different element, listen for the `sl-initial-focus` event. ```html preview