accessibility bugfixes
This commit is contained in:
parent
094ff4765b
commit
3ca514e653
5 changed files with 5 additions and 2 deletions
|
@ -43,6 +43,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.ActionCenter
|
||||||
CultureCodeTextBlock.Text = layout.CultureCode;
|
CultureCodeTextBlock.Text = layout.CultureCode;
|
||||||
CultureNameTextBlock.Text = layout.CultureName;
|
CultureNameTextBlock.Text = layout.CultureName;
|
||||||
LayoutNameTextBlock.Text = layout.LayoutName;
|
LayoutNameTextBlock.Text = layout.LayoutName;
|
||||||
|
System.Windows.Automation.AutomationProperties.SetName(Button, layout.CultureName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.Taskbar
|
||||||
CultureCodeTextBlock.Text = layout.CultureCode;
|
CultureCodeTextBlock.Text = layout.CultureCode;
|
||||||
CultureNameTextBlock.Text = layout.CultureName;
|
CultureNameTextBlock.Text = layout.CultureName;
|
||||||
LayoutNameTextBlock.Text = layout.LayoutName;
|
LayoutNameTextBlock.Text = layout.LayoutName;
|
||||||
System.Windows.Automation.AutomationProperties.SetName(Button, layout.LayoutName);
|
System.Windows.Automation.AutomationProperties.SetName(Button, layout.CultureName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.Taskbar
|
||||||
{
|
{
|
||||||
IconButton.ToolTip = notification.Tooltip;
|
IconButton.ToolTip = notification.Tooltip;
|
||||||
IconButton.Content = IconResourceLoader.Load(notification.IconResource);
|
IconButton.Content = IconResourceLoader.Load(notification.IconResource);
|
||||||
|
System.Windows.Automation.AutomationProperties.SetName(this, notification.Tooltip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls.ActionCenter
|
||||||
CultureCodeTextBlock.Text = layout.CultureCode;
|
CultureCodeTextBlock.Text = layout.CultureCode;
|
||||||
CultureNameTextBlock.Text = layout.CultureName;
|
CultureNameTextBlock.Text = layout.CultureName;
|
||||||
LayoutNameTextBlock.Text = layout.LayoutName;
|
LayoutNameTextBlock.Text = layout.LayoutName;
|
||||||
|
System.Windows.Automation.AutomationProperties.SetName(Button, layout.CultureName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls.Taskbar
|
||||||
CultureCodeTextBlock.Text = layout.CultureCode;
|
CultureCodeTextBlock.Text = layout.CultureCode;
|
||||||
CultureNameTextBlock.Text = layout.CultureName;
|
CultureNameTextBlock.Text = layout.CultureName;
|
||||||
LayoutNameTextBlock.Text = layout.LayoutName;
|
LayoutNameTextBlock.Text = layout.LayoutName;
|
||||||
System.Windows.Automation.AutomationProperties.SetName(Button, layout.LayoutName);
|
System.Windows.Automation.AutomationProperties.SetName(Button, layout.CultureName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue