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:Search Applications page]Popover for Create button…
… is inaccessible via keyboard (#201193) (#201466) # Backport This will backport the following commits from `main` to `8.x`: - [fix: [Search:Search Applications page]Popover for Create button is inaccessible via keyboard (#201193)](#201193) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexey Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2024-11-22T19:38:24Z","message":"fix: [Search:Search Applications page]Popover for Create button is inaccessible via keyboard (#201193)\n\nCloses: #199760 \r\nPopovers, dialogs which are accessible with mouse, should also be\r\naccessible with keyboard. Otherwise users using only keyboard will miss\r\nthe information present in popover, dialog.\r\n\r\nCloses: #199749\r\nUser reaches the same button two times when navigating using only\r\nkeyboard and it can get confusing. Better for element to get focus only\r\none time when navigating in sequence from one element to another and for\r\nthe user only to hear one announcement of the element.\r\n\r\n## What was changed: \r\n1. `CreateSearchApplicationButton` component: \r\n - `EuiPopover` was replaced to more a11y-friendly `EuiToolTip`\r\n - extra `div` element with `tabindex` was removed. \r\n\r\n## Screen\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fbb62841-6f2f-45d0-bee3-39a11a4fc777","sha":"1b742e77f41c6b0674ee01c28b17171508cb5784","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.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:Search Applications page]Popover for Create button is inaccessible via keyboard","number":201193,"url":"https://github.com/elastic/kibana/pull/201193","mergeCommit":{"message":"fix: [Search:Search Applications page]Popover for Create button is inaccessible via keyboard (#201193)\n\nCloses: #199760 \r\nPopovers, dialogs which are accessible with mouse, should also be\r\naccessible with keyboard. Otherwise users using only keyboard will miss\r\nthe information present in popover, dialog.\r\n\r\nCloses: #199749\r\nUser reaches the same button two times when navigating using only\r\nkeyboard and it can get confusing. Better for element to get focus only\r\none time when navigating in sequence from one element to another and for\r\nthe user only to hear one announcement of the element.\r\n\r\n## What was changed: \r\n1. `CreateSearchApplicationButton` component: \r\n - `EuiPopover` was replaced to more a11y-friendly `EuiToolTip`\r\n - extra `div` element with `tabindex` was removed. \r\n\r\n## Screen\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fbb62841-6f2f-45d0-bee3-39a11a4fc777","sha":"1b742e77f41c6b0674ee01c28b17171508cb5784"}},"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/201193","number":201193,"mergeCommit":{"message":"fix: [Search:Search Applications page]Popover for Create button is inaccessible via keyboard (#201193)\n\nCloses: #199760 \r\nPopovers, dialogs which are accessible with mouse, should also be\r\naccessible with keyboard. Otherwise users using only keyboard will miss\r\nthe information present in popover, dialog.\r\n\r\nCloses: #199749\r\nUser reaches the same button two times when navigating using only\r\nkeyboard and it can get confusing. Better for element to get focus only\r\none time when navigating in sequence from one element to another and for\r\nthe user only to hear one announcement of the element.\r\n\r\n## What was changed: \r\n1. `CreateSearchApplicationButton` component: \r\n - `EuiPopover` was replaced to more a11y-friendly `EuiToolTip`\r\n - extra `div` element with `tabindex` was removed. \r\n\r\n## Screen\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fbb62841-6f2f-45d0-bee3-39a11a4fc777","sha":"1b742e77f41c6b0674ee01c28b17171508cb5784"}}]}] BACKPORT--> Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
- Loading branch information