Add accessibility label on buttons.

This commit is contained in:
Sagar
2025-04-29 20:14:30 +05:30
committed by Cody Henthorne
parent f0acc39829
commit 7a69c96746
7 changed files with 30 additions and 11 deletions

View File

@@ -78,7 +78,8 @@ fun CountryCodeSelectScreen(
Text(text = title, style = MaterialTheme.typography.titleLarge)
},
onNavigationClick = onDismissed,
navigationIconPainter = rememberVectorPainter(ImageVector.vectorResource(R.drawable.symbol_x_24))
navigationIconPainter = rememberVectorPainter(ImageVector.vectorResource(R.drawable.symbol_x_24)),
navigationContentDescription = stringResource(R.string.Material3SearchToolbar__close)
)
}
) { padding ->