Skip content - .NET MAUI

In MAUI, skipping content is mostly relevant to TalkBack and VoiceOver users. Both screen readers include shortcuts that allow users to jump to content types. MAUI offers a built-in heading levels feature that can be used to set up which elements and their position to read. You can also set AutomationProperties.IsInAccessibleTree to false if you want to make a UI element not available to the screen reader.

Usage (C#)

var headerLabel = new Label
{
    Text = "Hello"
};
SemanticProperties.SetHeadingLevel(headerLabel, SemanticHeadingLevel.None);
AutomationProperties.SetIsInAccessibleTree(headerLabel, false);

Usage (XAML)

<Label
    SemanticProperties.HeadingLevel="None"
    AutomationProperties.IsInAccessibleTree="False"
    Text="Hello" />