diff --git a/src/ui/public/flyout/flyout_session.tsx b/src/ui/public/flyout/flyout_session.tsx index 185c7378fa86a..58bb5d625ed31 100644 --- a/src/ui/public/flyout/flyout_session.tsx +++ b/src/ui/public/flyout/flyout_session.tsx @@ -85,6 +85,7 @@ class FlyoutSession extends EventEmitter { export function openFlyout( flyoutChildren: React.ReactNode, flyoutProps: { + closeButtonAriaLabel?: string; onClose?: () => void; 'data-test-subj'?: string; } = {} diff --git a/src/ui/public/inspector/inspector.tsx b/src/ui/public/inspector/inspector.tsx index 7d19674945a6a..1fa3d7f54c909 100644 --- a/src/ui/public/inspector/inspector.tsx +++ b/src/ui/public/inspector/inspector.tsx @@ -69,6 +69,7 @@ function open(adapters: Adapters, options: InspectorOptions = {}): InspectorSess return openFlyout(, { 'data-test-subj': 'inspectorPanel', + closeButtonAriaLabel: 'Close Inspector', }); }