Merge pull request #2004 from rizwankce/fix/a11y-for-zoomed-image

Fix a11y for zoomed image buttons
This commit is contained in:
Maurice Parker 2020-04-21 12:48:22 -05:00 committed by GitHub
commit ba592e1399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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