Skip to content

[Accessibility] Keyboard controls on textareas with dropdowns #196001

Open

Description

The keyboard interaction feels strange on the unified search input. Anytime I am in a long textarea element I often use ⌘ + shift + ↓ or ⌘ + shift + ↑ to jump to the start or end of the text. In this case, ⌘ + shift + ↑ works fine but ⌘ + shift + ↓ does nothing to the location of the cursor in the textarea content.

Steps to reproduce

  1. Open discover with any sample dataset
  2. Type a long query in the KQL search bar
  3. With the text area open, try to navigate the text of the input using keyboard , , & arrows.
  4. Notice when going down, the cursor is not properly moved in the text area input. Rather the down controls the focused option from the list.
Screen.Recording.2024-10-11.at.5.21.39.PM.mov

Actual Result
The down arrow always controls the selection of the hovered item in the dropdown.

Expected Result
The down arrow traverses the text input until it is at the bottom at which point it could break away to control the selection from a list of options.

Kibana Version:

8.16 and before

Browser:

Chrome -- Version 129.0.6668.90 (Official Build) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions