diff --git a/composables/src/main/java/com/google/android/horologist/composables/MarqueeText.kt b/composables/src/main/java/com/google/android/horologist/composables/MarqueeText.kt index cb9f44c3c7..31da57b623 100644 --- a/composables/src/main/java/com/google/android/horologist/composables/MarqueeText.kt +++ b/composables/src/main/java/com/google/android/horologist/composables/MarqueeText.kt @@ -40,6 +40,8 @@ import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.CompositingStrategy import androidx.compose.ui.graphics.graphicsLayer import androidx.compose.ui.layout.layout +import androidx.compose.ui.semantics.focused +import androidx.compose.ui.semantics.semantics import androidx.compose.ui.text.AnnotatedString import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.style.TextAlign @@ -100,6 +102,7 @@ public fun MarqueeText( inlineContent = inlineContent, modifier = modifier .then(controller.outsideMarqueeModifier) + .semantics { focused = true } .basicMarquee( iterations = Int.MAX_VALUE, delayMillis = pauseTime.inWholeMilliseconds.toInt(),