Skip to content

Fix Narrator announcement for info buttons in Source code flyout#2110

Merged
niels9001 merged 3 commits intomainfrom
fix/info-button-narrator-announcement
Feb 12, 2026
Merged

Fix Narrator announcement for info buttons in Source code flyout#2110
niels9001 merged 3 commits intomainfrom
fix/info-button-narrator-announcement

Conversation

@niels9001
Copy link
Collaborator

Summary

Fixes #2088

The two info buttons inside the Source code flyout (in PageHeader.xaml) had AutomationProperties.Name set to just Info, causing Narrator to announce only Info, button without the tooltip content.

Changes

Updated AutomationProperties.Name on both info buttons to include the tooltip text:

  • Control source code button: includes tooltip about WinUI repository source
  • Sample page source code button: includes tooltip about Gallery repository source

This ensures Narrator announces the full descriptive text along with the button role, satisfying MAS 4.2.1 Object Information.

Set AutomationProperties.Name to include tooltip text so Narrator announces
the full description instead of just 'Info, button'.

Fixes #2088
@niels9001 niels9001 enabled auto-merge (squash) February 12, 2026 11:00
@niels9001
Copy link
Collaborator Author

/azp run

@niels9001 niels9001 requested a review from marcelwgn February 12, 2026 11:02
@niels9001
Copy link
Collaborator Author

/azp run

1 similar comment
@niels9001
Copy link
Collaborator Author

/azp run

@niels9001 niels9001 merged commit 1b334a8 into main Feb 12, 2026
2 of 3 checks passed
@niels9001 niels9001 deleted the fix/info-button-narrator-announcement branch February 12, 2026 22:20
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.

When user navigates to the Informational button icon present inside the 'Source code' popup, Narrator fails to announce the appeared tooltip information

2 participants