Accessibility name - .NET MAUI
In MAUI, the SemanticProperties.Description
property is used as the accessibility name.
<Control
SemanticProperties.Description="Appt" />
Warning:
- Avoid setting the
Description
attached property on aLabel
. This will prevent theText
property from being spoken by the screen reader. The visual text should ideally match the text read aloud by the screen reader. - Avoid setting the
Description
attached property on anEntry
orEditor
on Android. Doing so will stop TalkBack actions from functioning. Instead, use thePlaceholder
property or theHint
attached property. - On iOS, if you set the
Description
property on any control that has children, the screen reader will be unable to reach the children. This is because iOS doesn't provide accessibility features that allow navigation from a parent element into a child element.