Skip to content

NumberBox: screen reader reads "new line" when mouse clicks arrows #10945

@carlos-zamora

Description

@carlos-zamora

Describe the bug

With Narrator enabled, clicking on the arrow buttons for the NumberBox control results in the screen reader reading out "new line". The announcement should instead reflect the updated value. Issue repros in WinUI 2 Gallery > NumberBox page

Why is this important?

Screen readers are useful for limited-visibility users. A scenario like this is important because this impacts users who use a screen reader and a mouse.

Steps to reproduce the bug

  1. In WinUI 2 Gallery, go to NumberBox page
  2. Turn on the narrator using 'CTRL+Win+Enter'
  3. Change the value by up and down arrow buttons

Actual behavior

"New line" read out

Expected behavior

The updated value should be announced

Screenshots

Screen.reader.announces.only.New.line.when.resizing.rowscolumns.using.mouse.mp4

NuGet package version

None

Windows version

No response

Additional context

Originally filed in microsoft/terminal#19693

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityNarrator, keyboarding, UIA, etcarea-NumberBoxNumberBox ControlbugSomething isn't working

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions