eui icon indicating copy to clipboard operation
eui copied to clipboard

[EuiDataGrid] Add arrow keys to popover

Open kertal opened this issue 5 years ago • 10 comments
trafficstars

It would be convenient if a user could use the arrow keys to navigate between cell popovers. Currently you've to close a popover, navigate to the next cell, expand the cell to archive this. Using arrow keys would save lots of time. Elastic_UI_Framework_-_Data_grid If the user the user would like to navigate to has no popover, just the cell could be focused instead

kertal avatar Nov 23 '20 07:11 kertal

Some a11y notes if anyone decides to pick this up:

  • we'd need to provide some context to the next popover to open (the screen reader should read out all the same info as if the user has closed the current popover, navigated to a new cell, and then opened the following popover). Would probably need an aria-live region to accomplish all this.
  • would need to take some care to make sure it doesn't break nested arrow controls in popovers (though maybe that's not the popovers problem and the nested components need to stop propagation?). I'm thinking about things like Comboboxes which require arrow key navigation.

myasonik avatar Nov 23 '20 15:11 myasonik

@kertal a few things about this:

  • Would this involve automatically making the first cell active if the entire EuiDataGrid is focussed and an arrow key is pressed? Seems like the focussed selection might need a directional awareness if this were to be implemented.

  • Also focusing on the cell should also expand it to reveal the actions, or should it just focus it and allow to move between them?

kshitij86 avatar Nov 29 '20 09:11 kshitij86

we'd need to provide some context to the next popover to open (the screen reader should read out all the same info as if the user has closed the current popover, navigated to a new cell, and then opened the following popover). Would probably need an aria-live region to accomplish all this.

@myasonik won't focusing on the cell and opening the popovers trigger the normal accessibility setting and the screen reader?

kshitij86 avatar Nov 29 '20 09:11 kshitij86

won't focusing on the cell and opening the popovers trigger the normal accessibility setting and the screen reader?

Potentially but probably depends on exactly how it's implemented it. My worry is that there won't actually be a moment that the cell is focused and focus effectively moves from popover to popover, without ever going to a cell.

myasonik avatar Nov 29 '20 23:11 myasonik

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

github-actions[bot] avatar May 29 '21 00:05 github-actions[bot]

yes, I still think this is a good idea :)

kertal avatar May 31 '21 07:05 kertal

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

github-actions[bot] avatar Nov 27 '21 16:11 github-actions[bot]

still think we should do this

kertal avatar Nov 29 '21 07:11 kertal

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

github-actions[bot] avatar May 28 '22 16:05 github-actions[bot]

still think we should do this, part 2

kertal avatar Jun 01 '22 12:06 kertal

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

github-actions[bot] avatar Nov 28 '22 16:11 github-actions[bot]

yes please, one day!

kertal avatar Nov 28 '22 16:11 kertal

👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

github-actions[bot] avatar May 28 '23 00:05 github-actions[bot]

❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.

github-actions[bot] avatar Nov 24 '23 08:11 github-actions[bot]