Merge pull request #2004 from rizwankce/fix/a11y-for-zoomed-image
Fix a11y for zoomed image buttons
This commit is contained in:
commit
ba592e1399
|
@ -29,6 +29,8 @@ class ImageViewController: UIViewController {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
closeButton.imageView?.contentMode = .scaleAspectFit
|
closeButton.imageView?.contentMode = .scaleAspectFit
|
||||||
|
closeButton.accessibilityLabel = NSLocalizedString("Close", comment: "Close")
|
||||||
|
shareButton.accessibilityLabel = NSLocalizedString("Share", comment: "Share")
|
||||||
|
|
||||||
imageScrollView.setup()
|
imageScrollView.setup()
|
||||||
imageScrollView.imageScrollViewDelegate = self
|
imageScrollView.imageScrollViewDelegate = self
|
||||||
|
|
Loading…
Reference in New Issue