Skip to content

Fix screen reader announcing only button name, not associated description in WPF Gallery#783

Open
mmanolova-msft wants to merge 1 commit into
microsoft:mainfrom
mmanolova-msft:user/mmanolova/navcard-a11y-description
Open

Fix screen reader announcing only button name, not associated description in WPF Gallery#783
mmanolova-msft wants to merge 1 commit into
microsoft:mainfrom
mmanolova-msft:user/mmanolova/navcard-a11y-description

Conversation

@mmanolova-msft

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

Copy link
Copy Markdown

Summary

Fixes AzDO 3019241 (MAS 1.3.1 accessibility). In the WPF Gallery app, Narrator announced only a navigation button's title and skipped the associated descriptive text.

Root cause

The buttons had an explicit AutomationProperties.Name bound only to Title, which suppresses WPF's default fall-back to the child description TextBlock, so the description was never announced.

Fix

Fold the Description into AutomationProperties.Name via a MultiBinding so Narrator announces both the title and the description:

  • Controls/HeaderTile.xaml - the 5 featured tiles on Home (Getting started, Windows design, WPF GitHub, Code samples, Partner Center).
  • Resources/Templates.xaml (NavigationCardTemplate) - the Overview/category cards reused across 13 pages.

Consistent with the previously-fixed AzDO 2064065, which also resolved announcement gaps by setting explicit AutomationProperties.Name values.

Testing

  • dotnet build succeeds (0 errors).
  • Manual Narrator pass: both title and description are now announced for the home tiles and overview cards.
Microsoft Reviewers: Open in CodeFlow

@mmanolova-msft

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

…tion in WPF Gallery

Fold the card Description into AutomationProperties.Name for HeaderTile (5 home tiles) and NavigationCardTemplate (overview/category cards) so Narrator announces both the title and its associated descriptive text. Addresses AzDO 3019241.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mmanolova-msft mmanolova-msft force-pushed the user/mmanolova/navcard-a11y-description branch from ab744b3 to c0ffa1e Compare June 26, 2026 10:15
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