Skip to content

Add accessible name to Control Alt Fill checkbox on Colors page#785

Open
mmanolova-msft wants to merge 1 commit into
microsoft:mainfrom
mmanolova-msft:fix/colors-checkbox-narrator-name
Open

Add accessible name to Control Alt Fill checkbox on Colors page#785
mmanolova-msft wants to merge 1 commit into
microsoft:mainfrom
mmanolova-msft:fix/colors-checkbox-narrator-name

Conversation

@mmanolova-msft

@mmanolova-msft mmanolova-msft commented Jun 26, 2026

Copy link
Copy Markdown

Summary

The example CheckBox in the Control Alt Fill section of the WPF Gallery Colors page (Design Guidance → Colors → Fill subpage) had no accessible name. As a result, Narrator announced only its checked state (e.g. "checkbox, checked") and not its label, violating MAS 4.1.2 (Name, Role, Value).

This adds AutomationProperties.Name="Control Alt Fill" so Narrator now announces "Control Alt Fill checkbox, checked".

Repro

  1. Enable Narrator (Ctrl+Win+Enter).
  2. Open WPF Gallery → Design Guidance → Colors.
  3. Set the page selector combo box to Fill.
  4. In scan mode (Caps Lock+Spacebar), arrow to the checkbox in the Control Alt Fill section.

Before: Narrator reads only "checkbox, checked".
After: Narrator reads "Control Alt Fill checkbox, checked".

Fixes internal work item AB#3019259.

Microsoft Reviewers: Open in CodeFlow

The example checkbox in the 'Control Alt Fill' section of the WPF Gallery Colors page had no AutomationProperties.Name, so Narrator announced only its checked state and not its label. Adding an accessible name fixes the MAS 4.1.2 (Name, Role, Value) issue.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant