mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-04 13:45:08 +00:00
Add automation heading level 1 to fix about dialog (#15200)
Add automation heading level 1 to fix the about dialog by adding an automation property. Allows screen reader to pick up that this is a heading and read properly. Closes #11912 --------- Co-authored-by: Mike Griese <migrie@microsoft.com>
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock IsTextSelectionEnabled="True">
|
||||
<Run Text="{x:Bind ApplicationDisplayName}" /> <LineBreak />
|
||||
<Run AutomationProperties.HeadingLevel="1"
|
||||
Text="{x:Bind ApplicationDisplayName}" /> <LineBreak />
|
||||
<Run x:Uid="AboutDialog_VersionLabel" />
|
||||
<Run Text="{x:Bind ApplicationVersion}" />
|
||||
</TextBlock>
|
||||
|
||||
Reference in New Issue
Block a user