mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 21:41:51 +02:00
[Settings] A11y fixes (#13533)
* Added support for headers narrator announcement
* Added name to info button
* Added tabstop support to Infobars
* Adding TabStop
* Added headinglevels
* Replace radiobuttons with combobox
* Revert "Replace radiobuttons with combobox"
This reverts commit 4e57795409.
Co-authored-by: Laute <Niels.Laute@philips.com>
This commit is contained in:
@@ -61,12 +61,14 @@
|
||||
<muxc:InfoBar x:Uid="General_UpToDate"
|
||||
IsClosable="False"
|
||||
Severity="Success"
|
||||
IsTabStop="True"
|
||||
IsOpen="{Binding IsNewVersionCheckedAndUpToDate, Mode=OneWay}"/>
|
||||
|
||||
<!-- New version available -->
|
||||
<muxc:InfoBar x:Uid="General_NewVersionAvailable"
|
||||
IsClosable="False"
|
||||
Severity="Informational"
|
||||
IsTabStop="True"
|
||||
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToDownload}"
|
||||
Message="{Binding PowerToysNewAvailableVersion, Mode=OneWay}">
|
||||
<muxc:InfoBar.Content>
|
||||
@@ -102,6 +104,7 @@
|
||||
<muxc:InfoBar x:Uid="General_NewVersionReadyToInstall"
|
||||
IsClosable="False"
|
||||
Severity="Success"
|
||||
IsTabStop="True"
|
||||
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ReadyToInstall}"
|
||||
Message="{Binding PowerToysNewAvailableVersion}">
|
||||
<muxc:InfoBar.Content>
|
||||
@@ -126,6 +129,7 @@
|
||||
<muxc:InfoBar x:Uid="General_FailedToDownloadTheNewVersion"
|
||||
IsClosable="False"
|
||||
Severity="Error"
|
||||
IsTabStop="True"
|
||||
IsOpen="{Binding PowerToysUpdatingState, Mode=OneWay, Converter={StaticResource UpdateStateToBoolConverter}, ConverterParameter=ErrorDownloading}"
|
||||
Message="{Binding PowerToysNewAvailableVersion}">
|
||||
<muxc:InfoBar.Content>
|
||||
@@ -192,6 +196,7 @@
|
||||
</controls:Setting>
|
||||
<muxc:InfoBar x:Uid="General_RunAsAdminRequired"
|
||||
Severity="Warning"
|
||||
IsTabStop="True"
|
||||
IsClosable="False"
|
||||
IsOpen="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource NegationConverter}}"/>
|
||||
</StackPanel>
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
HorizontalAlignment="Right"
|
||||
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
||||
x:Uid="ImageResizer_FilenameFormatPlaceholder"/>
|
||||
<Button Content="" Height="32" FontFamily="{ThemeResource SymbolThemeFontFamily}">
|
||||
<Button Content="" x:Uid="ImageResizer_FilenameParameters" Height="32" FontFamily="{ThemeResource SymbolThemeFontFamily}">
|
||||
<Button.Flyout>
|
||||
<Flyout>
|
||||
<TextBlock x:Name="FileFormatTextBlock">
|
||||
|
||||
@@ -167,7 +167,11 @@
|
||||
</AutoSuggestBox>
|
||||
</controls:Setting.ActionContent>
|
||||
</controls:Setting>
|
||||
<muxc:InfoBar x:Uid="Run_AllPluginsDisabled" Severity="Error" IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}" IsClosable="False" />
|
||||
<muxc:InfoBar x:Uid="Run_AllPluginsDisabled"
|
||||
Severity="Error"
|
||||
IsTabStop="True"
|
||||
IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}"
|
||||
IsClosable="False" />
|
||||
|
||||
<StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}">
|
||||
<muxc:ProgressRing IsActive="True" Width="20" Height="20" Margin="18,18" />
|
||||
@@ -212,10 +216,12 @@
|
||||
</controls:Setting.ActionContent>
|
||||
</controls:Setting>
|
||||
<muxc:InfoBar Severity="Error" x:Uid="Run_NotAccessibleWarning"
|
||||
IsTabStop="True"
|
||||
IsOpen="{x:Bind ShowNotAccessibleWarning}"
|
||||
IsClosable="False" />
|
||||
<muxc:InfoBar Severity="Error"
|
||||
x:Uid="Run_NotAllowedActionKeyword"
|
||||
IsTabStop="True"
|
||||
IsOpen="{x:Bind ShowNotAllowedKeywordWarning}"
|
||||
IsClosable="False" />
|
||||
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
|
||||
|
||||
@@ -23,12 +23,14 @@
|
||||
<muxc:InfoBar Severity="Warning"
|
||||
x:Uid="FileExplorerPreview_RunAsAdminRequired"
|
||||
IsOpen="True"
|
||||
IsTabStop="True"
|
||||
IsClosable="False"
|
||||
Visibility="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}" />
|
||||
|
||||
<muxc:InfoBar Severity="Informational"
|
||||
x:Uid="FileExplorerPreview_AffectsAllUsers"
|
||||
IsOpen="True"
|
||||
IsTabStop="True"
|
||||
IsClosable="False"
|
||||
/>
|
||||
|
||||
@@ -59,6 +61,7 @@
|
||||
<muxc:InfoBar Severity="Informational"
|
||||
x:Uid="FileExplorerPreview_RebootRequired"
|
||||
IsOpen="True"
|
||||
IsTabStop="True"
|
||||
IsClosable="False"
|
||||
/>
|
||||
<controls:Setting x:Uid="FileExplorerPreview_ToggleSwitch_SVG_Thumbnail" Icon="">
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
<muxc:InfoBar
|
||||
x:Uid="ShortcutGuide_PressWinKeyWarning"
|
||||
Severity="Warning"
|
||||
IsTabStop="True"
|
||||
IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.UseLegacyPressWinKeyBehavior}"
|
||||
IsClosable="False"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user