microsoft / microsoft/microsoft-ui-xaml

Narrator reads incorrect value for Slider control

Open
#10,595 5 comments 0 reactions 0 assignees View on GitHub
area-Slider feature proposal
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

When running the Windows Narrator for accessibility, the slider control reports a value from 0% to 100% regardless of the value or AutomationProperties.Name set for this control. For example the very simple slider:

When the narrator reads this it says "My Automation name, Slider, 50%".

### Steps to reproduce the bug

Add slider to XAML and run application
Start windows Narrator (ctrl-win-enter)
Tab to the slider and listen to the audio narration

### Expected behavior

It should at the very least read "My Automation name, Slider, 0" but more importantly, the developer should be able to override the AutomationProperties with their own content, including a converter. For example, I really want my slider to say something like "Balance 50% left" when the value is -0.5.

### Screenshots

_No response_

### NuGet package version

WinUI 3 - Windows App SDK 1.7.2: 1.7.250513003

### Windows version

Windows 11 (23H2): Build 22631

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the XAML Slider example and Windows Narrator on the stated Windows App SDK version. Trace the Slider's accessibility/UI Automation behavior and determine how its range, value, AutomationProperties.Name, and custom content are exposed. Done means Narrator reports the actual value and the control supports the requested accessible wording.

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
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.