vaadin / web-components

A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
https://vaadin.com/docs/latest/components
469 stars 83 forks source link

[grid] Ease row selection in multi-select mode #5494

Open juuso-vaadin opened 1 year ago

juuso-vaadin commented 1 year ago

What is the problem?

Row selection with keyboard in single selection mode is easier than in multi-select mode.

Multi-select mode has two ways of selecting rows:

It could be further enhanced by

Most likely those selection modes need to be controllable by developer.

Browsers

Screen Readers

juuso-vaadin commented 1 year ago

Different topic but technically pretty similar to disabling "interaction mode" on selection column would be triggering singular buttons without the need to navigate into the cell. It could only apply to cells with single clickable item.

In this example, I'd like to focus the cell containing a button and hit SPACE to trigger the button. https://vaadin.com/docs/latest/example?embed=grid-column-freezing-wc.js&import=component/grid/grid-column-freezing.ts

juuso-vaadin commented 3 months ago

Another side effect is that item details are triggered when selecting the checkbox from cell level.

image

Would be improved with https://github.com/vaadin/web-components/issues/1331