Skip to content

Make the cell viewer a real dialog #851

Closed

Description

@EVWorth

Severity: P2 (accessibility).

What happens

On http://localhost:1420/?mock=connected:

  1. Run SELECT * FROM products, hover a description cell and click its View full content button. The viewer opens (column name, TEXT badge, a read-only editor, Download / Copy / Close).
  2. Focus stays on <body>; nothing inside the viewer is focused.
  3. Escape does nothing. Only Close, the X or a backdrop click dismisses it.
  4. The overlay has no role="dialog" or aria-modal, so assistive technology does not announce it as a dialog, and Tab can move into the page behind it.

Cause

src/components/grid/CellViewerModal.tsx:206 builds its own fixed inset-0 overlay. It does not use src/components/common/Modal.tsx, which already provides the dialog role, aria-modal, focus trapping and Escape handling.

Fix

Wrap the viewer's content in the shared Modal and move initial focus to the Copy button or the content.

Part of #783.

Activity

  1. added
    bug
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 29, 2026
    f03c062
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