Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bc72e07 authored by yyalan's avatar yyalan
Browse files

TalkBack should not announce the decorative icon

Bug: 386884795
Flag: NONE bug fix
Test: tested with Talkback
Change-Id: If62033ad4655ec08fc3fd7f24e20103ad93ebfd2
parent 6988e7a4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -218,9 +218,11 @@ private fun TutorialButton(
            verticalArrangement = Arrangement.Center,
            horizontalAlignment = Alignment.CenterHorizontally,
        ) {
            // contentDescription is set to null because the icon is decorative and we don't want to
            // repeat the text twice
            Icon(
                imageVector = icon,
                contentDescription = text,
                contentDescription = null,
                modifier = Modifier.width(30.dp).height(30.dp),
                tint = iconColor,
            )