[Accessibility] Character is not read properly in terminal input after auto-completion
See original GitHub issueCC @isidorn
Found the following issue in both NVDA and JAWS.
Closely related to #131090.
Does this issue occur when all extensions are disabled?: Yes
System Info
Version: 1.60.0-insider (system setup) Commit: 89bbd372f459ce72e9c0b60eb3b26b924f64f62d Date: 2021-08-20T17:51:50.560Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043
Steps to Reproduce
- Open VSCode with NVDA.
- Open terminal by pressing Ctrl+`.
- Type
touch foo.txt
to create a new file. - Once the file is created, type
fo
and hit Tab key to auto-completefoo.txt
in terminal input. [do NOT hit Enter yet] - To change the file extension, press left-arrow key to identify “.txt”.
- Notes: Focused character is not read as intended. This issue occurs only after auto-completion event is triggered.
In contrast, the following usecase does not cause this issue:
- Manually type
foo.txt
in terminal and hit left-/right-arrow keys.
- Notes: Focused character is read properly this time.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
ui.autocomplete does not correctly display special character
When you make the request using ajax the server is returning valid HTML and HTML requires that such characters be expressed as entities....
Read more >Guidelines for the accessibility of an autocompletion component
Presentation of our approach and selected guidelines for autocompletion components.
Read more >Terminal autocomplete doesn't work properly - Ask Ubuntu
If I start typing a command like apt-g after hitting tab , the shell completes the command to apt-get , but for the...
Read more >Autosuggest widget (or: autocomplete, lookahead, typeahead)
We do not call autosuggests "autocompletes" so the difference to HTML's ... even if they have not seen any other autosuggest before.
Read more >How does Fig know what you've typed in the terminal? - Fig.io
After all, there are plenty of other autocomplete solutions integrated with the shell — zsh has plugins like zsh autosuggestions, fish shell ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We would also want to cover other cases like up/down changing the prompt history entry (https://github.com/microsoft/vscode/issues/94708)
Thanks for the update @Tyriar Makes sense to introduce this after we have support for shell integration.