Skip to content

Commit

Permalink
Narrator fix. HelpText was being read by the narrator but didn't matc…
Browse files Browse the repository at this point in the history
…h the watermark text which was shown. (microsoft#6652)

Now set HelpText to watermark Text so that narrator reads it. The tooltip will still show the HelpText

internal bug 1355290
  • Loading branch information
bschnurr authored Aug 5, 2021
1 parent 227941a commit 364da4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
IsEnabled="{Binding Path=IsEnvFile}"
Text="{Binding SelectedEnvFilePath,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,ValidatesOnNotifyDataErrors=False}"
Watermark="{x:Static common:Strings.AddCondaEnvironmentFileWatermark}"
HelpText="{x:Static common:Strings.AddCondaEnvironmentFileHelp}"
HelpText="{x:Static common:Strings.AddCondaEnvironmentFileWatermark}"
ToolTip="{x:Static common:Strings.AddCondaEnvironmentFileHelp}"
AutomationProperties.AutomationId="EnvFile"
AutomationProperties.Name="{x:Static common:Strings.AddCondaEnvironmentFileName}"
Expand All @@ -262,7 +262,7 @@
BrowseButtonStyle="{StaticResource BrowsePackagesButton}"
BrowseAutomationName="{x:Static common:Strings.AddCondaPackagesBrowseButton}"
Watermark="{x:Static common:Strings.AddCondaPackagesWatermark}"
HelpText="{x:Static common:Strings.AddCondaPackagesHelpText}"
HelpText="{x:Static common:Strings.AddCondaPackagesWatermark}"
ToolTip="{x:Static common:Strings.AddCondaPackagesHelpText}"
AutomationProperties.Name="{x:Static common:Strings.AddCondaPackagesName}"
AutomationProperties.AutomationId="Packages"/>
Expand Down

0 comments on commit 364da4b

Please sign in to comment.