quarto-dev / quarto-dev/quarto

[Accessibility]: Make Escape key work to go back to editing cursor position from Quarto assist view

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Explorer: Focus on Quarto View allows screen reader users to accessibly jump and review Quarto assist view.

I have assigned the following keybinding

[
  {
    "key": "ctrl+f1",
    "command": "quarto-assist.focus",
    "when": "editorTextFocus"
  }
]

This works nicely in *.qmd file and I can press Ctrl+F1 on any R/Python command to review real-time Quarto assist view.

The current problem is that I cannot leave this Quarto assist view with ESC key to retain my original editing cursor position. My workaround is pressing Ctrl+1 to explicitly focus in my editor 1 area.

It would be nicer if we could make this work.

Contributor guide

No contributing guide indexed for this repository

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 tracing the quarto-assist.focus command and the Quarto assist view behavior. Check how focus is transferred from the editor and how Escape is handled; done means Escape returns focus to the original editing cursor position in a .qmd file after the assist view is focused.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility
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.