Skip content - Android

On Android, skipping content is mostly relevant to TalkBack users. TalkBack includes a local context menu which allows users to jump to the following content types:

  • Headings
  • Links
  • Controls
  • Text
    • Paragraphs
    • Lines
    • Characters
    • Words

Jumping to headings and links is used most often.

Provide appropriate accessibility markup to your content by using ViewCompat and AccessibilityNodeInfoCompat.

// Mark headings
ViewCompat.setAccessibilityHeading(heading, true)

// Mark links
ViewCompat.enableAccessibleClickableSpanSupport(link)