Add accessibility metadata to Canvas titlebar reload button

Add AutomationId (CanvasTitlebarReloadButton) and accessible name
(Reload Canvas) to the icon-only reload button in the Canvas window
titlebar. This enables UI automation discovery and screen reader
announcement for the button.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Christine Yan 2026-05-05 13:24:17 -04:00
parent bf62a3d57e
commit 3b5c60e93a

View File

@ -33,6 +33,8 @@
</StackPanel>
<Button Grid.Column="1" Click="OnRetryClick"
AutomationProperties.AutomationId="CanvasTitlebarReloadButton"
AutomationProperties.Name="Reload Canvas"
Width="28" Height="28" Padding="0" Background="Transparent" BorderThickness="0"
VerticalAlignment="Center" Margin="8,0,0,0">
<ToolTipService.ToolTip>