-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [Obs Discover][KEYBOARD]: Tooltips in the datagrid header must b…
…e keyboard accessible (#183270) Closes: elastic/observability-dev#3353 ## Summary ## Description The Obs Discover view has a datagrid with four (or more) tooltips that cannot be reached by keyboard. These elements can be helpful to users to understand what the column represents, and must be available to all users. Screenshot attached below. This issue encompasses both the **Discover** and **Logs Explorer** tabs. There are 4 unique views (2 tabs, 2 sub-tabs each) that have the same issue. I'm consolidating for speed, but please let me know if you'd prefer they be broken out to related issues. ### Steps to recreate 1. Open the [Obs Serverless Discover](https://keepserverless-qa-oblt-b4ba07.kb.eu-west-1.aws.qa.elastic.cloud/app/observability-logs-explorer/) view 2. Click somewhere close to the datagrid to avoid having to tab through the entire page 3. Press `Tab` until the datagrid has focus 4. Use the `arrow` keys to traverse the data grid header row 5. Verify the tooltips cannot be reached by`arrow` or `Tab` keypress ### What was done?: 1. Removed `HoverPopover`. The logic might not be suitable for use outside of the `DataGrid` column. 2. Replaced `EuiToolTip` with `EuiIconTip` for text-based popovers. 3. Refactored `TooltipButton` to properly handle keyboard navigation. ### Screen https://github.com/elastic/kibana/assets/20072247/9ac9bc70-075f-41f6-a5a5-4e30a385b1c9
- Loading branch information
Showing
8 changed files
with
91 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
...k/plugins/observability_solution/logs_explorer/public/components/common/hover_popover.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters