From 7d5606e462d8aa4a450814559eb901540594ed5a Mon Sep 17 00:00:00 2001 From: "Maria Manolova (INFRAGISTICS INC)" Date: Fri, 26 Jun 2026 14:52:51 +0300 Subject: [PATCH] Add accessible name to C# code copy button in ControlExample The C# 'Source code' copy button had no AutomationProperties.Name, so its UI Automation Name was derived from the Segoe icon glyph (U+E8C8), which lies in the Unicode Private Use Area (U+E000-U+F8FF). Screen readers and Accessibility Insights flagged this (MAS 4.1.2). Added AutomationProperties.Name=Copy C# Code and a matching tooltip, mirroring the sibling XAML copy button. Fixes AzDO DevDiv#3018313 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Sample Applications/WPFGallery/Controls/ControlExample.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sample Applications/WPFGallery/Controls/ControlExample.xaml b/Sample Applications/WPFGallery/Controls/ControlExample.xaml index 251e7362..d476e7ab 100644 --- a/Sample Applications/WPFGallery/Controls/ControlExample.xaml +++ b/Sample Applications/WPFGallery/Controls/ControlExample.xaml @@ -123,7 +123,7 @@ Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="C#" /> -