From 108da4ccf458d7bd0b90f1cc52ba8b1e2e3eacb6 Mon Sep 17 00:00:00 2001 From: Rizwan Mohamed Ibrahim Date: Tue, 21 Apr 2020 21:35:26 +0530 Subject: [PATCH] Fix buttons a11y label for close and share button for image vc Image View Controller buttons both close and share don't have correct a11y label. This will add the localised label --- iOS/Article/ImageViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iOS/Article/ImageViewController.swift b/iOS/Article/ImageViewController.swift index 79285d4fb..91d8a17d9 100644 --- a/iOS/Article/ImageViewController.swift +++ b/iOS/Article/ImageViewController.swift @@ -29,6 +29,8 @@ class ImageViewController: UIViewController { super.viewDidLoad() closeButton.imageView?.contentMode = .scaleAspectFit + closeButton.accessibilityLabel = NSLocalizedString("Close", comment: "Close") + shareButton.accessibilityLabel = NSLocalizedString("Share", comment: "Share") imageScrollView.setup() imageScrollView.imageScrollViewDelegate = self