microsoft / microsoft/monaco-editor

Accessibility: focusing the editor on a specific line/col (goto line, goto definition) should be announced

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

Nobody has claimed this yet.

accessibility feature-request quick-pick
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

monaco-editor version: 0.8.3
Browser: Edge
OS: Win10
Steps or JS usage snippet reproducing the issue:

  1. Open Windows Narrator
  2. Invoke Ctrl+G to go to line
  3. Type a line number and hit enter
  4. Focus moves to the editor, but there is no announcement for focus moving back to the editor.

Expected: Some announcement like 'focus moved to line 10 of editor'

In general when we move focus (such as go to defintion) we should announce where focus has been moved to before starting to read the editor contents again.

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

Reproduce the behavior with Windows Narrator in Edge using Ctrl+G, entering a line number, and observing focus return to the editor; also consider the reported goto-definition path. The issue names no source file or test, so first locate the focus-management entry points and accessibility tests, then verify that the destination line and column are announced before editor contents are read.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.