Skip to content

Make History entry actions keyboard-reachable #826

Closed

Description

@EVWorth

Severity: P2

What happens

  1. Open ?mock=connected and expand HISTORY in the sidebar.
  2. Tab from the search box through the list.

Each entry is one <button>; Tab moves from entry to entry and never reaches the per-entry Delete (X) or the "expand error" toggle on failed entries. Those are span role="button" elements nested inside the entry button (40 of them in the seeded list), so they have no tab stop or Enter/Space handling, and nesting interactive roles inside a button is invalid for assistive technology.

(The Delete X being hover-only / invisible on focus is tracked in #784.)

Cause

src/components/history/QueryHistory.tsx:501-510 (Delete) and :554 (error expand) render span role="button" inside the entry <button>.

Fix

Make the entry row a non-interactive container holding sibling real <button>s: one to load the query, one to delete, one to expand the error. Keep the click-to-load target covering the SQL text.

Part of #783.

Activity

  1. added
    bug
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 24, 2026
    e2558a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions