From 8a19b205de44f5ab9eaadabeadd7a9b5170b3d99 Mon Sep 17 00:00:00 2001 From: Jonas Sourlier Date: Fri, 11 Feb 2022 10:54:37 +0100 Subject: [PATCH] added accessibility labels to UI controls --- SafeExamBrowser.I18n.Contracts/TextKey.cs | 6 ++++++ SafeExamBrowser.I18n/Data/en.xml | 20 ++++++++++++++++++- .../Controls/Taskbar/QuitButton.xaml | 4 +++- .../Windows/BrowserWindow.xaml.cs | 6 ++++++ .../Windows/Taskbar.xaml.cs | 4 +++- 5 files changed, 37 insertions(+), 3 deletions(-) diff --git a/SafeExamBrowser.I18n.Contracts/TextKey.cs b/SafeExamBrowser.I18n.Contracts/TextKey.cs index 0fc4032c..b2ce756d 100644 --- a/SafeExamBrowser.I18n.Contracts/TextKey.cs +++ b/SafeExamBrowser.I18n.Contracts/TextKey.cs @@ -24,13 +24,19 @@ namespace SafeExamBrowser.I18n.Contracts Browser_LoadErrorTitle, Browser_Name, Browser_Tooltip, + BrowserWindow_BackwardButton, BrowserWindow_DeveloperConsoleMenuItem, BrowserWindow_Downloading, BrowserWindow_DownloadCancelled, BrowserWindow_DownloadComplete, + BrowserWindow_DownloadsButton, BrowserWindow_FindCaseSensitive, BrowserWindow_FindMenuItem, + BrowserWindow_ForwardButton, + BrowserWindow_HomeButton, + BrowserWindow_MenuButton, BrowserWindow_ReloadButton, + BrowserWindow_UrlTextBox, BrowserWindow_ZoomMenuItem, Build, ExamSelectionDialog_Cancel, diff --git a/SafeExamBrowser.I18n/Data/en.xml b/SafeExamBrowser.I18n/Data/en.xml index 316029d1..00fb5b46 100644 --- a/SafeExamBrowser.I18n/Data/en.xml +++ b/SafeExamBrowser.I18n/Data/en.xml @@ -49,7 +49,25 @@ Search page... - Reload button + Reload + + + Backward + + + Forward + + + Download + + + Home + + + Menu + + + Enter URL Page Zoom diff --git a/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/QuitButton.xaml b/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/QuitButton.xaml index 27a637d7..592ac0b4 100644 --- a/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/QuitButton.xaml +++ b/SafeExamBrowser.UserInterface.Desktop/Controls/Taskbar/QuitButton.xaml @@ -4,6 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:SafeExamBrowser.UserInterface.Desktop.Controls" + x:Name="root" mc:Ignorable="d" d:DesignHeight="40" d:DesignWidth="40"> @@ -15,6 +16,7 @@