Skip to content

Commit 4b9515c

Browse files
committed
new descriptions and other fixes
1 parent 3a2fd90 commit 4b9515c

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

9.0/Apps/DeveloperBalance/Pages/Controls/TaskView.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
x:Class="DeveloperBalance.Pages.Controls.TaskView"
1010
StrokeShape="RoundRectangle 20"
1111
Background="{AppThemeBinding Light={StaticResource LightSecondaryBackground}, Dark={StaticResource DarkSecondaryBackground}}"
12+
SemanticProperties.Description="{Binding Title, StringFormat='{0} Task'}"
1213
x:DataType="models:ProjectTask">
1314

1415
<effectsView:SfEffectsView
@@ -51,7 +52,7 @@
5152
<Label Grid.Column="1"
5253
Text="{Binding Title}"
5354
VerticalOptions="Center"
54-
LineBreakMode="TailTruncation"
55+
LineBreakMode="WordWrap"
5556
AutomationProperties.IsInAccessibleTree="False" />
5657
</Grid>
5758
</shimmer:SfShimmer.Content>

9.0/Apps/DeveloperBalance/Pages/MainPage.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
<pullToRefresh:SfPullToRefresh.PullableContent>
3636
<ScrollView>
3737
<VerticalStackLayout Spacing="{StaticResource LayoutSpacing}" Padding="{StaticResource LayoutPadding}">
38-
<Label Text="Task Categories" Style="{StaticResource Title2}"/>
38+
<Label Text="Task Categories" Style="{StaticResource Title2}" SemanticProperties.HeadingLevel="Level1"/>
3939
<controls:CategoryChart />
40-
<Label Text="Projects" Style="{StaticResource Title2}"/>
40+
<Label Text="Projects" Style="{StaticResource Title2}" SemanticProperties.HeadingLevel="Level1"/>
4141
<ScrollView Orientation="Horizontal" Margin="-30,0">
4242
<HorizontalStackLayout
4343
Spacing="15" Padding="30,0"
@@ -53,8 +53,8 @@
5353
</BindableLayout.ItemTemplate>
5454
</HorizontalStackLayout>
5555
</ScrollView>
56-
<Grid HeightRequest="44">
57-
<Label Text="Tasks" Style="{StaticResource Title2}" VerticalOptions="Center"/>
56+
<Grid MinimumHeightRequest="44">
57+
<Label Text="Tasks" Style="{StaticResource Title2}" VerticalOptions="Center" SemanticProperties.HeadingLevel="Level1"/>
5858
<ImageButton
5959
Source="{StaticResource IconClean}"
6060
HorizontalOptions="End"

9.0/Apps/DeveloperBalance/Pages/ProjectDetailPage.xaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,22 @@
6969
<sf:SfTextInputLayout
7070
Hint="Name" >
7171
<Entry
72-
Text="{Binding Name}" />
72+
Text="{Binding Name}" SemanticProperties.Description="Name" />
7373
</sf:SfTextInputLayout>
7474

7575
<sf:SfTextInputLayout
7676
Hint="Description">
7777
<Entry
78-
Text="{Binding Description}" />
78+
Text="{Binding Description}" SemanticProperties.Description="Description" />
7979
</sf:SfTextInputLayout>
8080

8181
<sf:SfTextInputLayout
8282
Hint="Category">
8383
<Picker
8484
ItemsSource="{Binding Categories}"
8585
SelectedItem="{Binding Category}"
86-
SelectedIndex="{Binding CategoryIndex}" />
86+
SelectedIndex="{Binding CategoryIndex}"
87+
SemanticProperties.Description="Category" />
8788
</sf:SfTextInputLayout>
8889

8990
<Label

9.0/Apps/DeveloperBalance/Pages/TaskDetailPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
<sf:SfTextInputLayout Hint="Task">
2525
<Entry
2626
Text="{Binding Title}"
27-
SemanticProperties.Description="Title" />
27+
SemanticProperties.Description="Task" />
2828
</sf:SfTextInputLayout>
2929

3030
<sf:SfTextInputLayout Hint="Completed">
3131
<CheckBox
3232
HorizontalOptions="End"
3333
IsChecked="{Binding IsCompleted}"
34-
SemanticProperties.Description="Status"
34+
SemanticProperties.Description="Completed"
3535
SemanticProperties.Hint="Indicates if this task is completed" />
3636
</sf:SfTextInputLayout>
3737

0 commit comments

Comments
 (0)