From ffe424725d04e4a0ccd6bf4f5ebb9c05c844a548 Mon Sep 17 00:00:00 2001 From: Jonas Sourlier Date: Wed, 6 Apr 2022 11:27:59 +0200 Subject: [PATCH] accessible keyboard layout button --- .../Controls/Taskbar/KeyboardLayoutButton.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/KeyboardLayoutButton.xaml.cs b/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/KeyboardLayoutButton.xaml.cs index 8dc22819..ed716481 100644 --- a/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/KeyboardLayoutButton.xaml.cs +++ b/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/KeyboardLayoutButton.xaml.cs @@ -43,6 +43,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.Taskbar CultureCodeTextBlock.Text = layout.CultureCode; CultureNameTextBlock.Text = layout.CultureName; LayoutNameTextBlock.Text = layout.LayoutName; + System.Windows.Automation.AutomationProperties.SetHelpText(Button, layout.Name); } } }