Error explanation leaves keyboard focus in the console

Open
#340 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@CNSeniorious000 is already working on this.

Since Nov 11, 2026.

  • #341 by @CNSeniorious000 — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript

Research direction

Reproduce the issue at https://promplate.dev/playground with 1 / 0, then inspect the Explain error overlay and its trigger. Opening should move focus into a named dialog and prevent background interaction; Escape should dismiss it and restore focus to the trigger. An open linked pull request (#341) indicates work is already under way.

Written by the indexing model from the issue text.

Description

In https://promplate.dev/playground, run 1 / 0 and activate Explain error.

Focus stays on the button behind the explanation. Pressing Tab moves into the Python console, where subsequent Tab presses trigger completion instead of reaching the explanation's close button. Escape does not dismiss the panel, and the accessibility tree has no dialog.

The overlay blocks pointer access to the console but leaves it keyboard-accessible. Opening the explanation should move focus into a named dialog, prevent interaction with the background, and restore focus to the trigger when dismissed.

Dominant language
Svelte
Stars
2
Forks
0
Avg merge
18h 1m
Merged PRs (30d)
18

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from promplate/site

All issues in promplate/site

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.