Skip to content

Commit

Permalink
Unblock CI by fixing Axe errors (#1394)
Browse files Browse the repository at this point in the history
## Description
This PR fixes issues with the infobadge page which broke the CI
  • Loading branch information
marcelwgn committed Oct 30, 2023
1 parent 220426e commit 3dc6f71
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions WinUIGallery/ControlPages/InfoBadgePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,9 @@
<local:ControlExample x:Name="Example2" HeaderText="Different InfoBadge Styles" HorizontalContentAlignment="Stretch" >
<local:ControlExample.Example>
<StackPanel Orientation="Horizontal" contract5Present:Spacing="20" HorizontalAlignment="Center">
<InfoBadge x:Name="infoBadge2" Style="{StaticResource AttentionIconInfoBadgeStyle}" HorizontalAlignment="Right"
AutomationProperties.Name="Warning badge" AutomationProperties.AutomationControlType="Image"/>
<InfoBadge x:Name="infoBadge2" Style="{StaticResource AttentionIconInfoBadgeStyle}" HorizontalAlignment="Right"/>
<InfoBadge x:Name="infoBadge3" Style="{StaticResource AttentionValueInfoBadgeStyle}" HorizontalAlignment="Right" Value="10"/>
<InfoBadge x:Name="infoBadge4" Style="{StaticResource AttentionDotInfoBadgeStyle}" VerticalAlignment="Center"
AutomationProperties.Name="Notification badge" AutomationProperties.AutomationControlType="Image"/>
<InfoBadge x:Name="infoBadge4" Style="{StaticResource AttentionDotInfoBadgeStyle}" VerticalAlignment="Center"/>
</StackPanel>

</local:ControlExample.Example>
Expand All @@ -89,11 +87,9 @@
<local:ControlExample.Xaml>
<x:String xml:space="preserve">
&lt;StackPanel Orientation="Horizontal" contract5Present:Spacing="20" HorizontalAlignment="Center"/&gt;
&lt;InfoBadge x:Name="infoBadge2" Style="{StaticResource $(Style)IconInfoBadgeStyle}" HorizontalAlignment="Right"
AutomationProperties.Name="Warning badge" AutomationProperties.AutomationControlType="Image"/&gt;
&lt;InfoBadge x:Name="infoBadge2" Style="{StaticResource $(Style)IconInfoBadgeStyle}" HorizontalAlignment="Right"/&gt;
&lt;InfoBadge x:Name="infoBadge3" Style="{StaticResource $(Style)ValueInfoBadgeStyle}" HorizontalAlignment="Right" Value="10" /&gt;
&lt;InfoBadge x:Name="infoBadge4" Style="{StaticResource $(Style)DotInfoBadgeStyle}" VerticalAlignment="Center"
AutomationProperties.Name="Notification badge" AutomationProperties.AutomationControlType="Image"/&gt;
&lt;InfoBadge x:Name="infoBadge4" Style="{StaticResource $(Style)DotInfoBadgeStyle}" VerticalAlignment="Center"/&gt;
&lt;/StackPanel&gt;
</x:String>
</local:ControlExample.Xaml>
Expand Down

0 comments on commit 3dc6f71

Please sign in to comment.