posit-dev / posit-dev/positron

Can't Shift+Tab out of the Console when "tab key always moves focus" is on

Open
#1,685 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: console bug
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Positron Version:

Positron Version: 2023.10.0 (Universal) build 1386
Code - OSS Version: 1.83.0
Commit: 3d9f17642f2c22eeab13fc9de97e9508bce21803
Date: 2023-10-25T03:04:10.976Z
Electron: 25.8.4
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0

Steps to reproduce the issue:

  1. With keyboard focus in the Console (R or Python), invoke "Toggle Tab Key Moves focus" via command palette or Ctrl+Shift+M (Mac) or Ctrl+M (Windows)
  2. Note that status bar says "Tab Moves Focus"
  3. Type Shift+Tab

Nothing happens.

What did you expect to happen?

Focus should move to the previous focusable element outside the console, in this case, the last button on its toolbar. Compare with the Terminal and the editor, which do work correctly.

Note that forward Tab does work.

This partially fails WCAG "Success Criterion 2.1.2 No Keyboard Trap" and makes the product harder to use for a keyboard-only user (e.g. Stephen Hawking, were he alive and using Positron).

Were there any error messages in the output or Developer Tools console?

N/A

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the issue in the Console with “Tab Moves Focus” enabled, then compare its Shift+Tab behavior with the Terminal and editor, which are reported to work correctly. Done means Shift+Tab moves focus from the Console to the previous focusable element, such as the last toolbar button, without affecting forward Tab navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.