Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ export const DataViewEditor = ({

return (
<KibanaReactContextProvider>
<EuiFlyout onClose={() => {}} hideCloseButton={true} size="l">
<EuiFlyout
onClose={() => {}}
hideCloseButton={true}
size="l"
aria-labelledby="dataViewEditorFlyoutTitle"
>
<DataViewEditorLazy
onSave={onSave}
onCancel={onCancel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const IndexPatternEditorFlyoutContentComponent = ({
<FlyoutPanels.Item data-test-subj="indexPatternEditorFlyout" border="right">
<FlyoutPanels.Content>
<EuiTitle data-test-subj="flyoutTitle">
<h2>{editData ? editorTitleEditMode : editorTitle}</h2>
<h2 id="dataViewEditorFlyoutTitle">{editData ? editorTitleEditMode : editorTitle}</h2>
</EuiTitle>
{showManagementLink && editData && editData.id && (
<EuiLink
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const getEditorOpener =
// EUI TODO: This z-index override of EuiOverlayMask is a workaround, and ideally should be resolved with a cleaner UI/UX flow long-term
style: 'z-index: 1003', // we need this flyout to be above the timeline flyout (which has a z-index of 1002)
},
'aria-labelledby': 'dataViewEditorFlyoutTitle',
}
);

Expand Down