mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[a11y] Fix Title announcement, image flyout dashboards (#220027)
## Summary This PR resolves [[Platform:Dashboards:DashboardEditMode] Add image panel is announced incorrectly](https://github.com/elastic/kibana/issues/215483) issue. Tested in Safari (Chrome still doesn't pronounce it correctly, which is a known issue confirmed by Eui team.) <img width="915" alt="Screenshot 2025-05-04 at 14 06 37" src="https://github.com/user-attachments/assets/1c2fc8ae-1efc-49b7-ad0b-57eea4cf416c" />
This commit is contained in:
parent
ce815297b2
commit
641ee87cc1
2 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,7 @@ export function ImageEditorFlyout(props: ImageEditorFlyoutProps) {
|
|||
<>
|
||||
<EuiFlyoutHeader hasBorder={true}>
|
||||
<EuiTitle size="s">
|
||||
<h2>
|
||||
<h2 id="image-editor-flyout-title">
|
||||
{isEditing ? (
|
||||
<FormattedMessage
|
||||
id="imageEmbeddable.imageEditor.editImagetitle"
|
||||
|
|
|
@ -84,6 +84,7 @@ export const openImageEditor = async ({
|
|||
paddingSize: 'm',
|
||||
ownFocus: true,
|
||||
'data-test-subj': 'createImageEmbeddableFlyout',
|
||||
'aria-labelledby': 'image-editor-flyout-title',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue