microsoft / microsoft/microsoft-ui-xaml

TextBox: Narrator announces "new line" when typing the first character

Open
#11,263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

With Narrator running, typing the **first** character into an empty `TextBox` makes Narrator
announce the character and then say **"new line"**. This happens only on the first character
(the empty→non-empty transition); every subsequent character echoes cleanly with no "new line"

### Why is this important?

Confusing Narrator experience on any first-character text entry. Hit in Windows OOBE text-entry pages.

### Steps to reproduce the bug

1. Turn Narrator on.
2. Focus an empty `TextBox`.
3. Type a single character.

### Actual behavior

Narrator announces the typed character and then "new line"

### Expected behavior

Narrator announces only the typed character.

### Screenshots

_No response_

### NuGet package version

1.6.250402001

### Windows version

Windows 11 (24H2): Build 26100

### Additional context

_No response_

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 TextBox with Narrator enabled, focusing on the empty-to-non-empty transition described in the steps. Trace the TextBox input and accessibility behavior to determine why the first character also produces “new line”; done means the character is announced without that extra announcement while later characters remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
accessibility, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.