For #27253: Add content description to close button.

This commit is contained in:
mcarare 2022-10-05 13:12:27 +03:00 committed by mergify[bot]
parent 49791c3774
commit 5d33d387a1
2 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,7 @@ fun Onboarding(
) {
Icon(
painter = painterResource(id = R.drawable.mozac_ic_close),
contentDescription = null,
contentDescription = stringResource(R.string.onboarding_home_content_description_close_button),
tint = FirefoxTheme.colors.iconPrimary,
)
}

View File

@ -287,6 +287,8 @@
<string name="onboarding_home_skip_button">Skip</string>
<!-- Onboarding home screen sync popup dialog message, shown on top of Recent Synced Tabs in the Jump back in section. -->
<string name="sync_cfr_message">Your tabs are syncing! Pick up where you left off on your other device.</string>
<!-- Content description (not visible, for screen readers etc.): Close button for the home onboarding dialog -->
<string name="onboarding_home_content_description_close_button">Close</string>
<!-- Search Widget -->
<!-- Content description for searching with a widget. The first parameter is the name of the application.-->