For #23498 add content description for wallpapers

upstream-sync
Arturo Mejia 2 years ago committed by mergify[bot]
parent 892e65f8e8
commit fdb2006c85

@ -765,6 +765,8 @@ class HomeFragment : Fragment() {
}
if (shouldEnableWallpaper() && context.settings().wallpapersSwitchedByLogoTap) {
binding.wordmark.contentDescription =
context.getString(R.string.wallpaper_logo_content_description)
binding.wordmark.setOnClickListener {
val manager = requireComponents.wallpaperManager
val newWallpaper = manager.switchToNextWallpaper()

@ -468,6 +468,8 @@
<string name="wallpaper_tap_to_change_switch_label">Tap logo to change wallpaper</string>
<!-- Description for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_description">Cycle through and update image without leaving the homepage.</string>
<!-- Content description for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_logo_content_description">Firefox logo - change the wallpaper, button</string>
<!-- Add-on Installation from AMO-->
<!-- Error displayed when user attempts to install an add-on from AMO (addons.mozilla.org) that is not supported -->

Loading…
Cancel
Save