Skip to content

Commit 61dad63

Browse files
authored
Fix phantom text being read by Narrator (#50752)
2 parents 1793bfc + 7e393a4 commit 61dad63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Layout/pkg/windows/bundles/sdk/bundle.thm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<Hypertext HexStyle="00000000" EnableCondition="WixBundleAction = 6" TabStop="yes" Name="ReleaseNotesLinkText" X="148" Y="300" Width="-12" Height="16" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.ReleaseNotesLinkText)</Hypertext>
102102
<Hypertext HexStyle="00000000" EnableCondition="WixBundleAction = 6" TabStop="yes" Name="TutorialsLinkText" X="148" Y="316" Width="-12" Height="16" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.TutorialsLinkText)</Hypertext>
103103

104-
<Label X="148" Y="-48" Width="-12" Height="34" FontId="DefaultFont" DisablePrefix="yes" VisibleCondition="WixStdBARestartRequired">
104+
<Label Name="SuccessRestartText" X="148" Y="-48" Width="-12" Height="34" FontId="DefaultFont" DisablePrefix="yes" VisibleCondition="WixStdBARestartRequired">
105105
<Text>#(loc.SuccessRestartText)</Text>
106106
<Text Condition="WixBundleAction = 3">#(loc.SuccessUninstallRestartText)</Text>
107107
</Label>
@@ -116,6 +116,8 @@
116116
</Button>
117117
</Page>
118118
<Page Name="Failure">
119+
<!-- Reserve two lines of space to accommodate localized content. -->
120+
<Label Name="FailureRestartText" X="148" Y="-48" Width="-12" Height="32" FontId="DefaultFont" DisablePrefix="yes" VisibleCondition="WixStdBARestartRequired">#(loc.FailureRestartText)</Label>
119121
<Label Name="FailureHeader" X="148" Y="80" Width="-12" Height="32" HexStyle="00000000" FontId="PageHeaderFont" TabStop="yes">
120122
<Text>#(loc.FailureHeader)</Text>
121123
<Text Condition="WixBundleAction = 2">#(loc.FailureLayoutHeader)</Text>
@@ -133,8 +135,6 @@
133135
<!-- This element is updated by the bootstrapper application. Reserve 3 lines of space. -->
134136
<Hypertext HexStyle="000000" Name="FailureMessageText" X="148" Y="172" Width="-12" Height="48" FontId="ErrorFont" TabStop="yes" HideWhenDisabled="yes" />
135137

136-
<!-- Reserve two lines of space to accommodate localized content. -->
137-
<Label X="148" Y="-48" Width="-12" Height="32" FontId="DefaultFont" DisablePrefix="yes" VisibleCondition="WixStdBARestartRequired">#(loc.FailureRestartText)</Label>
138138
<Button Name="FailureRestartButton" X="-124" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
139139
<Button Name="FailureCloseButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont">
140140
<Text>#(loc.FailureCloseButton)</Text>

0 commit comments

Comments
 (0)