You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -51,7 +52,7 @@ helps achieve accessible dialogs that can be styled as needed.
51
52
* Contains focus inside the dialog when combined with <<TypeLinklinks={focusDocs.links}type={focusDocs.exports.FocusScope} />>
52
53
* Hides content behind the dialog from screen readers when combined with <TypeLinklinks={overlaysDocs.links}type={overlaysDocs.exports.useModal} />
53
54
* Prevents scrolling the page behind the dialog when combined with <TypeLinklinks={overlaysDocs.links}type={overlaysDocs.exports.usePreventScroll} />
54
-
* Handles closing the dialog when interacting outside and pressing the <kbd>Escape</kbd> key, when combined with <TypeLinklinks={overlaysDocs.links}type={overlaysDocs.exports.useOverlay} />
55
+
* Handles closing the dialog when interacting outside and pressing the <Keyboard>Escape</Keyboard> key, when combined with <TypeLinklinks={overlaysDocs.links}type={overlaysDocs.exports.useOverlay} />
55
56
56
57
## Anatomy
57
58
@@ -81,7 +82,7 @@ and hides content outside the dialog
81
82
with <TypeLinklinks={overlaysDocs.links}type={overlaysDocs.exports.useModal} />.
82
83
83
84
The modal can be closed by clicking or interacting outside the dialog if the `isDismissable`
84
-
prop is set to true, or by pressing the <kbd>Escape</kbd> key.
85
+
prop is set to true, or by pressing the <Keyboard>Escape</Keyboard> key.
85
86
This is handled by <TypeLinklinks={overlaysDocs.links}type={overlaysDocs.exports.useOverlay} />.
86
87
87
88
Focus is contained within the dialog while it is open using a
0 commit comments