reload button accessibility

This commit is contained in:
Jonas Sourlier 2022-02-08 10:33:23 +01:00
parent a7b6f9cb87
commit 9d5792c7ec
3 changed files with 5 additions and 0 deletions

View file

@ -30,6 +30,7 @@ namespace SafeExamBrowser.I18n.Contracts
BrowserWindow_DownloadComplete,
BrowserWindow_FindCaseSensitive,
BrowserWindow_FindMenuItem,
BrowserWindow_ReloadButton,
BrowserWindow_ZoomMenuItem,
Build,
ExamSelectionDialog_Cancel,

View file

@ -48,6 +48,9 @@
<Entry key="BrowserWindow_FindMenuItem">
Search page...
</Entry>
<Entry key="BrowserWindow_ReloadButton">
Reload button
</Entry>
<Entry key="BrowserWindow_ZoomMenuItem">
Page Zoom
</Entry>

View file

@ -577,6 +577,7 @@ if (typeof __SEB_focusElement === 'undefined') {
FindCaseSensitiveCheckBox.Content = text.Get(TextKey.BrowserWindow_FindCaseSensitive);
FindMenuText.Text = text.Get(TextKey.BrowserWindow_FindMenuItem);
ZoomText.Text = text.Get(TextKey.BrowserWindow_ZoomMenuItem);
ReloadButton.SetValue(System.Windows.Automation.AutomationProperties.NameProperty, text.Get(TextKey.BrowserWindow_ReloadButton));
}
public void FocusToolbar(bool forward)