Skip to content

Data Table shortcuts don't respect focus #291

Open
@EthanMcQ-TMF

Description

@EthanMcQ-TMF

Describe the bug

Using keyboard shortcuts to navigate Data Tables doesn't respect focus. This can result in multiple elements reacting to input at the same time, and inconsistent behaviour when hitting enter

It appears that data tables aren't actually focusable at all, which is an accessibility issue of its own

Screen.Recording.2024-03-01.at.13.49.13.mov

To Reproduce

Most easily seen in the "Events" view (since the filter drop downs are interactable with the arrow keys) but possible in all data tables

  1. Use tab to focus on an on-screen element
  2. Press the up/down arrow keys
  3. The data table will react to the input

Expected behaviour

Data tables should only respond to keyboard input when they have focus.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions