March 2018
Intermediate to advanced
192 pages
4h 4m
English
One of the most common ways to bring accessibility to an app is to provide support for screen readers, which are used to narrate and describe elements on the screen. In this section, we will use the Xamarin.Forms AutomationProperties class to easily add screen reader support to our entry detail page:
<StackLayout Padding="10" Grid.Row="1"> <Label ... Text="{Binding Entry.Title}" AutomationProperties.IsInAccessibleTree="true" /> <Label ... Text="{Binding Entry.Date, StringFormat='{0:M}'}" AutomationProperties.IsInAccessibleTree="true" ...