Associate Units and Theme labels with the radio button groups (#1211)
* Wrap theme radio buttons in MUXC RadioButtons control to fix accessibility issue where the buttons are grouped with the theme title * Associated theme labels with radio button groups
This commit is contained in:
parent
0105e6b319
commit
1e302cac58
@ -174,7 +174,7 @@
|
|||||||
Style="{StaticResource SubTitleTextBoxStyle}"
|
Style="{StaticResource SubTitleTextBoxStyle}"
|
||||||
AutomationProperties.HeadingLevel="Level2"/>
|
AutomationProperties.HeadingLevel="Level2"/>
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel AutomationProperties.LabeledBy="{Binding ElementName=UnitsHeading}" Orientation="Horizontal">
|
||||||
<RadioButton x:Name="Radians"
|
<RadioButton x:Name="Radians"
|
||||||
x:Uid="TrigModeRadians"
|
x:Uid="TrigModeRadians"
|
||||||
Style="{StaticResource TrigUnitsRadioButtonStyle}"
|
Style="{StaticResource TrigUnitsRadioButtonStyle}"
|
||||||
@ -218,14 +218,13 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
|
|
||||||
<TextBlock x:Name="GraphThemeHeading"
|
<TextBlock x:Name="GraphThemeHeading"
|
||||||
x:Uid="GraphThemeHeading"
|
x:Uid="GraphThemeHeading"
|
||||||
Margin="0,16,0,6"
|
Margin="0,16,0,6"
|
||||||
Style="{StaticResource SubTitleTextBoxStyle}"
|
Style="{StaticResource SubTitleTextBoxStyle}"
|
||||||
AutomationProperties.HeadingLevel="Level2"/>
|
AutomationProperties.HeadingLevel="Level2"/>
|
||||||
|
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel AutomationProperties.LabeledBy="{Binding ElementName=GraphThemeHeading}">
|
||||||
<RadioButton x:Uid="AlwaysLightTheme" IsChecked="{x:Bind IsMatchAppTheme, Mode=TwoWay, Converter={StaticResource BooleanNegationConverter}}"/>
|
<RadioButton x:Uid="AlwaysLightTheme" IsChecked="{x:Bind IsMatchAppTheme, Mode=TwoWay, Converter={StaticResource BooleanNegationConverter}}"/>
|
||||||
<RadioButton x:Uid="MatchAppTheme"
|
<RadioButton x:Uid="MatchAppTheme"
|
||||||
Margin="1,0"
|
Margin="1,0"
|
||||||
|
Loading…
Reference in New Issue
Block a user