The Flyout component uses the native dialog element to provide a modal dialog which comes with browser-specific
behavior. As a result, accessibility features may vary across different browsers.
Keyboard
prev
next
Key / stateFunctionTab, Shift-TabMoves focus to the next (or previous) focusable element inside the dialog. Focus is trapped (browser behaviour).ESCCloses the dialog.focus on trigger elementThe focus is returned to the trigger element after closing the dialog (browser behavior).
ARIA enhancements
External ARIA provided by the aria property:
prev
next
ARIAUsagearia-labelDefines a string value that labels the dialog element.
Internal ARIA that is managed by the component:
prev
next
ARIAUsagearia-label="STRING"Defines the accessible name if no aria property is provided, uses the contents of the header slot and falls back to a fixed name.
To inform users that the trigger button opens a dialog, the aria-haspopup attribute must be set using the aria
property, e.g.: aria={{ 'aria-haspopup': 'dialog' }}.