Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] fix: [Stateful: Home page] Create an API key dialog information…
… announcement duplication (elastic#196133) (elastic#196272) # Backport This will backport the following commits from `main` to `8.x`: - [fix: [Stateful: Home page] Create an API key dialog information announcement duplication (elastic#196133)](elastic#196133) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexey Antonov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-15T10:32:32Z","message":"fix: [Stateful: Home page] Create an API key dialog information announcement duplication (elastic#196133)\n\nCloses: elastic#195754\r\nCloses: elastic#195252\r\n\r\n## Description\r\nInformation about an element (in this case, a dialog) should be\r\nannounced once to the user. If the user navigates to another element and\r\nthen returns to the same dialog, they should hear the information about\r\nthe dialog again (one time).\r\n\r\n## What was changed?:\r\n\r\n1. Added `aria-labelledby` for `EuiFlyout` based on the EUI\r\nrecommendation. This will correctly pronounce the Flyout header without\r\nextra text.\r\n2. Added `aria-labelledby` and `role=\"region\"` for `EuiAccordion` for\r\nthe same reason.\r\n\r\n## Screen: \r\n\r\n<img width=\"1792\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/8a7ba05f-381a-4bb1-81fc-eb2c5fdb9fb0\">","sha":"0ccfb70c810b037c5aa02270e5a59da284d2b31c","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","v9.0.0","Team:Search","backport:prev-minor"],"title":"fix: [Stateful: Home page] Create an API key dialog information announcement duplication","number":196133,"url":"https://github.com/elastic/kibana/pull/196133","mergeCommit":{"message":"fix: [Stateful: Home page] Create an API key dialog information announcement duplication (elastic#196133)\n\nCloses: elastic#195754\r\nCloses: elastic#195252\r\n\r\n## Description\r\nInformation about an element (in this case, a dialog) should be\r\nannounced once to the user. If the user navigates to another element and\r\nthen returns to the same dialog, they should hear the information about\r\nthe dialog again (one time).\r\n\r\n## What was changed?:\r\n\r\n1. Added `aria-labelledby` for `EuiFlyout` based on the EUI\r\nrecommendation. This will correctly pronounce the Flyout header without\r\nextra text.\r\n2. Added `aria-labelledby` and `role=\"region\"` for `EuiAccordion` for\r\nthe same reason.\r\n\r\n## Screen: \r\n\r\n<img width=\"1792\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/8a7ba05f-381a-4bb1-81fc-eb2c5fdb9fb0\">","sha":"0ccfb70c810b037c5aa02270e5a59da284d2b31c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196133","number":196133,"mergeCommit":{"message":"fix: [Stateful: Home page] Create an API key dialog information announcement duplication (elastic#196133)\n\nCloses: elastic#195754\r\nCloses: elastic#195252\r\n\r\n## Description\r\nInformation about an element (in this case, a dialog) should be\r\nannounced once to the user. If the user navigates to another element and\r\nthen returns to the same dialog, they should hear the information about\r\nthe dialog again (one time).\r\n\r\n## What was changed?:\r\n\r\n1. Added `aria-labelledby` for `EuiFlyout` based on the EUI\r\nrecommendation. This will correctly pronounce the Flyout header without\r\nextra text.\r\n2. Added `aria-labelledby` and `role=\"region\"` for `EuiAccordion` for\r\nthe same reason.\r\n\r\n## Screen: \r\n\r\n<img width=\"1792\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/8a7ba05f-381a-4bb1-81fc-eb2c5fdb9fb0\">","sha":"0ccfb70c810b037c5aa02270e5a59da284d2b31c"}}]}] BACKPORT--> Co-authored-by: Alexey Antonov <[email protected]>
- Loading branch information