diff options
| -rw-r--r-- | ios/MullvadVPN/ConnectMainContentView.swift | 4 | ||||
| -rw-r--r-- | ios/MullvadVPN/HeaderBarView.swift | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ios/MullvadVPN/ConnectMainContentView.swift b/ios/MullvadVPN/ConnectMainContentView.swift index 1ddab593b2..851ddfbad3 100644 --- a/ios/MullvadVPN/ConnectMainContentView.swift +++ b/ios/MullvadVPN/ConnectMainContentView.swift @@ -84,6 +84,10 @@ class ConnectMainContentView: UIView { backgroundColor = .primaryColor layoutMargins = UIMetrics.contentLayoutMargins + if #available(iOS 13.0, *) { + accessibilityContainerType = .semanticGroup + } + addSubviews() } diff --git a/ios/MullvadVPN/HeaderBarView.swift b/ios/MullvadVPN/HeaderBarView.swift index 056bfcbb73..0912e5c107 100644 --- a/ios/MullvadVPN/HeaderBarView.swift +++ b/ios/MullvadVPN/HeaderBarView.swift @@ -63,6 +63,10 @@ class HeaderBarView: UIView { right: UIMetrics.contentLayoutMargins.right ) + if #available(iOS 13.0, *) { + accessibilityContainerType = .semanticGroup + } + let constraints = [ logoImageView.leadingAnchor.constraint(equalTo: layoutMarginsGuide.leadingAnchor), logoImageView.centerYAnchor.constraint(equalTo: titleLabel.centerYAnchor), |
