Skip to content

Link element is ignored when TalkBack is enabled #487

@danylo-makarenko-bt

Description

@danylo-makarenko-bt

Bug Description

If there are additional text elements after the link, the link is skipped when swiping left or right. While it can still be focused by clicking, it needs to be focusable during swipe navigation as well.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Add this code
MarkdownText(
        """
    # Hello Markdown

    This is a simple markdown example with:

    - Bullet points
    - **Bold text**
    - *Italic text*

    [Check out this link](https://github.com/mikepenz/multiplatform-markdown-renderer)
    
    This is a simple markdown example with:

    - Bullet points
    - **Bold text**
    - *Italic text*
    
    """.trimIndent()
    )
  1. Run on platform Android
  2. See error

Expected Behavior

All elements should be focusable and accessible by TalkBack.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Library Version: 0.38.1
  • Platform: Android
  • Device: Pixel 7 Pro
  • OS Version: Android 16
  • Kotlin Version: 2.1.20
  • Compose Version: 2025.10.01

Checklist

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions