Kibana: [Lens] (Accessibility) No way to recreate "drag to workspace" with keyboard

Created on 18 Nov 2020  路  3Comments  路  Source: elastic/kibana

The problem

Most everything thing that you can do by drag+drop in Lens, you can also do with a keyboard through the right-hand layers section. The one notable thing that I see missing is the "magical" dragging any single field over the workspace and seeing something happen.

The fix

Hard to say what the right solution here is. The best one is probably to implement full keyboard controls for all the drag+drop functionality available in Lens. Barring that, some other options could be: adding a button in the popover that opens when you click on a field could work, or adding a button somewhere in the workspace, or in the layer panel somewhere? Maybe an always present button where the suggestions are to add a new field? Lots of options on how to resolve this.

Relevant WCAG Criteria: 2.1.1 Keyboard - Level A

Lens Accessibility KibanaApp WCAG A bug

Most helpful comment

I have considered some of the same options you mentioned here. I think the simplest option to implement is one of your ideas, "button in the popover that opens when you click on a field". We could also add this to the Records field because it's not currently interactive: this could help solve one of the other accessibility issues you recently opened.

All 3 comments

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

Pinging @elastic/kibana-app (Team:KibanaApp)

I have considered some of the same options you mentioned here. I think the simplest option to implement is one of your ideas, "button in the popover that opens when you click on a field". We could also add this to the Records field because it's not currently interactive: this could help solve one of the other accessibility issues you recently opened.

Was this page helpful?
0 / 5 - 0 ratings