elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.16k forks source link

[EuiDataGrid][KEYBOARD]: Could we consider adding a shortcut key or chord to skip to the data grid from anywhere in the page? #121453

Open 1Copenut opened 2 years ago

1Copenut commented 2 years ago

Summary @zuhairmahd and @1Copenut have been auditing the Discover data grid for accessibility the last few week. Zuhair mentioned there are a lot of keypresses to move from the top of the page, through the column controls, to the data grid. We'd like to explore a shortcut key or chord that would allow users to jump to the data grid quickly from anywhere on the page.

Zuhair also mentioned he has some ideas about key chord shortcuts. He identified some patterns coalescing in services like GitHub and Gmail.

Describe a specific use case for the feature: Giving users a way to navigate quickly to the data grid, and perform common tasks within it like expanding a row or data.

cchaos commented 2 years ago

What would happen if there are multiple data grids on a page?

cee-chen commented 2 years ago

I'm not super convinced this should be a baseline EuiDataGrid feature vs. a per-application feature that gets added at the Kibana level - I think it makes more sense that way just personally as each individual plugin/app is going to have a better sense of its page hierarchy than we possibly could.

1Copenut commented 2 years ago

Thanks y'all. I almost filed this in the Kibana repo, then talked myself out of it. 😆

I'll transfer it so to keep the comment thread.

elasticmachine commented 2 years ago

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

elasticmachine commented 2 years ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)