Skip to content

[a11y] Fix Title announcement, image flyout dashboards #220027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

paulinashakirova
Copy link
Contributor

@paulinashakirova paulinashakirova commented May 4, 2025

Summary

This PR resolves [Platform:Dashboards:DashboardEditMode] Add image panel is announced incorrectly issue.
Tested in Safari (Chrome still doesn't pronounce it correctly, which is a known issue confirmed by Eui team.)

Screenshot 2025-05-04 at 14 06 37

@paulinashakirova paulinashakirova added Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) backport:all-open Backport to all branches that could still receive a release a11y Accessibility issue labels May 4, 2025
@paulinashakirova paulinashakirova self-assigned this May 4, 2025
@paulinashakirova paulinashakirova requested a review from a team as a code owner May 4, 2025 13:06
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@@ -84,6 +84,7 @@ export const openImageEditor = async ({
paddingSize: 'm',
ownFocus: true,
'data-test-subj': 'createImageEmbeddableFlyout',
'aria-labelledby': 'image-editor-flyout-title',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hard-coded here because I tried to pass using useGeneratedHtmld, but because the component is returned from a Promise (I think this could be the reason), it doesn't work correctly.
But maybe there is a better way?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is issue? 🤔

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
imageEmbeddable 50.7KB 50.8KB +120.0B

cc @paulinashakirova

Copy link
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in Safari (Chrome still doesn't pronounce it correctly.)

So the issue isn't fully resolved? Sorry if I am miss-reading

@@ -84,6 +84,7 @@ export const openImageEditor = async ({
paddingSize: 'm',
ownFocus: true,
'data-test-subj': 'createImageEmbeddableFlyout',
'aria-labelledby': 'image-editor-flyout-title',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is issue? 🤔

@paulinashakirova
Copy link
Contributor Author

Tested in Safari (Chrome still doesn't pronounce it correctly.)

So the issue isn't fully resolved? Sorry if I am miss-reading
Thank you for asking - this is a known issue (I changed the description) it is related to how Chrome handles flyouts (role="dialog").

Screenshot 2025-05-26 at 13 28 17

@paulinashakirova paulinashakirova merged commit 641ee87 into elastic:main May 28, 2025
10 checks passed
@paulinashakirova paulinashakirova deleted the a11y-image-editor-flyout-title branch May 28, 2025 04:21
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 7.17, 8.17, 8.18, 8.19, 9.0

https://github.com/elastic/kibana/actions/runs/15291424288

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 28, 2025
## Summary

This PR resolves [[Platform:Dashboards:DashboardEditMode] Add image
panel is announced
incorrectly](elastic#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"
/>

(cherry picked from commit 641ee87)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 28, 2025
## Summary

This PR resolves [[Platform:Dashboards:DashboardEditMode] Add image
panel is announced
incorrectly](elastic#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"
/>

(cherry picked from commit 641ee87)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 28, 2025
## Summary

This PR resolves [[Platform:Dashboards:DashboardEditMode] Add image
panel is announced
incorrectly](elastic#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"
/>

(cherry picked from commit 641ee87)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 28, 2025
## Summary

This PR resolves [[Platform:Dashboards:DashboardEditMode] Add image
panel is announced
incorrectly](elastic#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"
/>

(cherry picked from commit 641ee87)
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label May 29, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

akowalska622 pushed a commit to akowalska622/kibana that referenced this pull request May 29, 2025
## Summary

This PR resolves [[Platform:Dashboards:DashboardEditMode] Add image
panel is announced
incorrectly](elastic#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"
/>
@mistic mistic added v8.18.3 and removed v8.18.2 labels May 29, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

14 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @paulinashakirova

@alexwizp alexwizp added backport:version Backport to applied version labels and removed backport:all-open Backport to all branches that could still receive a release backport missing Added to PRs automatically when the are determined to be missing a backport. labels Jun 20, 2025
@elastic elastic deleted a comment from kibanamachine Jun 20, 2025
@elastic elastic deleted a comment from kibanamachine Jun 20, 2025
kibanamachine added a commit that referenced this pull request Jun 20, 2025
… (#221718)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[a11y] Fix Title announcement, image flyout dashboards
(#220027)](#220027)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Paulina
Shakirova","email":"paulina.shakirova@elastic.co"},"sourceCommit":{"committedDate":"2025-05-28T04:21:01Z","message":"[a11y]
Fix Title announcement, image flyout dashboards (#220027)\n\n##
Summary\n\nThis PR resolves [[Platform:Dashboards:DashboardEditMode] Add
image\npanel is
announced\nincorrectly](#215483)
issue.\nTested in Safari (Chrome still doesn't pronounce it correctly,
which is\na known issue confirmed by Eui team.)\n\n<img width=\"915\"
alt=\"Screenshot 2025-05-04 at 14 06
37\"\nsrc=\"https://github.com/user-attachments/assets/1c2fc8ae-1efc-49b7-ad0b-57eea4cf416c\"\n/>","sha":"641ee87cc1b54b18e9320767071118ca5205c80d","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","Team:SharedUX","backport:all-open","a11y","v9.1.0"],"title":"[a11y]
Fix Title announcement, image flyout
dashboards","number":220027,"url":"https://github.com/elastic/kibana/pull/220027","mergeCommit":{"message":"[a11y]
Fix Title announcement, image flyout dashboards (#220027)\n\n##
Summary\n\nThis PR resolves [[Platform:Dashboards:DashboardEditMode] Add
image\npanel is
announced\nincorrectly](#215483)
issue.\nTested in Safari (Chrome still doesn't pronounce it correctly,
which is\na known issue confirmed by Eui team.)\n\n<img width=\"915\"
alt=\"Screenshot 2025-05-04 at 14 06
37\"\nsrc=\"https://github.com/user-attachments/assets/1c2fc8ae-1efc-49b7-ad0b-57eea4cf416c\"\n/>","sha":"641ee87cc1b54b18e9320767071118ca5205c80d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220027","number":220027,"mergeCommit":{"message":"[a11y]
Fix Title announcement, image flyout dashboards (#220027)\n\n##
Summary\n\nThis PR resolves [[Platform:Dashboards:DashboardEditMode] Add
image\npanel is
announced\nincorrectly](#215483)
issue.\nTested in Safari (Chrome still doesn't pronounce it correctly,
which is\na known issue confirmed by Eui team.)\n\n<img width=\"915\"
alt=\"Screenshot 2025-05-04 at 14 06
37\"\nsrc=\"https://github.com/user-attachments/assets/1c2fc8ae-1efc-49b7-ad0b-57eea4cf416c\"\n/>","sha":"641ee87cc1b54b18e9320767071118ca5205c80d"}}]}]
BACKPORT-->

Co-authored-by: Paulina Shakirova <paulina.shakirova@elastic.co>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
@mistic mistic added v8.17.9 and removed v8.17.8 labels Jun 24, 2025
@mistic
Copy link
Member

mistic commented Jun 24, 2025

This PR didn't get it on time into the latest BC for v8.17.8. Updating the labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility issue backport:version Backport to applied version labels Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v8.17.9 v8.18.3 v8.19.0 v9.0.2 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Platform:Dashboards:DashboardEditMode] Add image panel is announced incorrectly
6 participants