Accessibility label - Xamarin
In Xamarin Forms, you can set an accessibility label by using the AutomationProperties.Name
property.
If another element is used to display the label, the AutomationProperties.LabeledBy
property be used to link a label. Unfortunately, LabeledBy
only works on Android.
As an alternative, you can link a label by setting IsInAccessibleTree
to false
and setting AutomationProperties.Name
the value
of the label.
<Control
AutomationProperties.Name="Appt" />