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:
parent
bf62a3d57e
commit
3b5c60e93a
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user