pull/479/head
Cory LaViska 2021-06-21 08:52:55 -04:00
rodzic 19dba93cca
commit 95ba1b5849
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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
<sl-dialog label="Dialog" class="dialog-focus">

Wyświetl plik

@ -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
<sl-drawer label="Drawer" class="drawer-focus">