Skip to content

Commit

Permalink
Merge pull request #20502 from wordpress-mobile/issue/20150-reader-cu…
Browse files Browse the repository at this point in the history
…stom-list-submenu-back-button-wrong-description-talkback

Fix dropdown menu back button content description
  • Loading branch information
RenanLukas authored Mar 19, 2024
2 parents 6b46937 + 9ab515b commit 519191e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.platform.LocalLayoutDirection
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.Role
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextOverflow
Expand Down Expand Up @@ -180,7 +181,7 @@ private fun CascadeColumnScope.SubMenuHeader(
}
Image(
painter = painterResource(backIconResource),
contentDescription = null,
contentDescription = stringResource(R.string.reader_label_toolbar_back),
colorFilter = ColorFilter.tint(MenuColors.itemContentColor()),
)
}
Expand Down

0 comments on commit 519191e

Please sign in to comment.