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: [Search:SearchApplications:Connect page]Button behind moda…
…l dialog is announced (#199668) (#199869) # Backport This will backport the following commits from `main` to `8.x`: - [fix: [Search:SearchApplications:Connect page]Button behind modal dialog is announced (#199668)](#199668) <!--- 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-11-12T19:28:20Z","message":"fix: [Search:SearchApplications:Connect page]Button behind modal dialog is announced (#199668)\n\nCloses: #199634\r\n\r\n## Summary\r\n\r\nThis PR apply similar with #197212 changes to\r\n[generate_search_application_api_key_modal.tsx](https://github.com/elastic/kibana/pull/199668/files#diff-2d651cfb54cad235005b4a9361f2dc25784a4d2842dfaa02fa301e8889d7825b)\r\ndialog.\r\n\r\n## What was changed:\r\n\r\n1. Dialog was slightly updated to be more accessibility (a11y) friendly:\r\n- To differentiate the two UI states, we now use two colors for the\r\npanel: `primary` for the initial state and `success` when the API key is\r\ngenerated.\r\n- An `EuiCallOut` with `role=\"alert\"` was added to announce status\r\nupdates for screen reader users.\r\n- After creating an API key, the focus now moves to the `Download API\r\nkey` button.\r\n\r\n## Screen: \r\n\r\n\r\nhttps://github.com/user-attachments/assets/41285198-9ee9-4201-a1fd-35b7192b439f","sha":"fbe926cfd395d09fd0e312805306eb9c019f465b","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.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: [Search:SearchApplications:Connect page]Button behind modal dialog is announced","number":199668,"url":"https://github.com/elastic/kibana/pull/199668","mergeCommit":{"message":"fix: [Search:SearchApplications:Connect page]Button behind modal dialog is announced (#199668)\n\nCloses: #199634\r\n\r\n## Summary\r\n\r\nThis PR apply similar with #197212 changes to\r\n[generate_search_application_api_key_modal.tsx](https://github.com/elastic/kibana/pull/199668/files#diff-2d651cfb54cad235005b4a9361f2dc25784a4d2842dfaa02fa301e8889d7825b)\r\ndialog.\r\n\r\n## What was changed:\r\n\r\n1. Dialog was slightly updated to be more accessibility (a11y) friendly:\r\n- To differentiate the two UI states, we now use two colors for the\r\npanel: `primary` for the initial state and `success` when the API key is\r\ngenerated.\r\n- An `EuiCallOut` with `role=\"alert\"` was added to announce status\r\nupdates for screen reader users.\r\n- After creating an API key, the focus now moves to the `Download API\r\nkey` button.\r\n\r\n## Screen: \r\n\r\n\r\nhttps://github.com/user-attachments/assets/41285198-9ee9-4201-a1fd-35b7192b439f","sha":"fbe926cfd395d09fd0e312805306eb9c019f465b"}},"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/199668","number":199668,"mergeCommit":{"message":"fix: [Search:SearchApplications:Connect page]Button behind modal dialog is announced (#199668)\n\nCloses: #199634\r\n\r\n## Summary\r\n\r\nThis PR apply similar with #197212 changes to\r\n[generate_search_application_api_key_modal.tsx](https://github.com/elastic/kibana/pull/199668/files#diff-2d651cfb54cad235005b4a9361f2dc25784a4d2842dfaa02fa301e8889d7825b)\r\ndialog.\r\n\r\n## What was changed:\r\n\r\n1. Dialog was slightly updated to be more accessibility (a11y) friendly:\r\n- To differentiate the two UI states, we now use two colors for the\r\npanel: `primary` for the initial state and `success` when the API key is\r\ngenerated.\r\n- An `EuiCallOut` with `role=\"alert\"` was added to announce status\r\nupdates for screen reader users.\r\n- After creating an API key, the focus now moves to the `Download API\r\nkey` button.\r\n\r\n## Screen: \r\n\r\n\r\nhttps://github.com/user-attachments/assets/41285198-9ee9-4201-a1fd-35b7192b439f","sha":"fbe926cfd395d09fd0e312805306eb9c019f465b"}}]}] BACKPORT--> Co-authored-by: Alexey Antonov <[email protected]>
- Loading branch information