microsoft / microsoft/terminal

UIA: more intelligent word boundaries

Open
#11,313 2 comments 0 reactions 0 assignees View on GitHub
Area-Accessibility Issue-Bug Product-Conhost
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version (or Windows build number)

OpenConsole commit 5deb332

### Other Software

NVDA 2021.3

### Steps to reproduce

Move by word in a UIA console containing the following text:

Loading file c:\test.json

### Expected Behavior

In Microsoft Word, NVDA splits the word boundaries as follows:

``` python
['Loading ', 'file ', 'c', ':\\', 'test', '.', 'json']
```

### Actual Behavior

In conhost, NVDA splits the words as follows:

``` python
['Loading ', 'file ', 'c:\\test.json \r\n ']
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in a UIA console using the text "Loading file c:\test.json" with NVDA 2021.3, then compare conhost's word boundaries with Microsoft Word's behavior. Done means word navigation separates the drive, path, extension, and surrounding words as shown in the expected output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
accessibility, operating-systems
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.