Improves My Apps tab accessibility

This commit is contained in:
Riley Testut
2020-08-27 15:25:52 -07:00
parent f02fcad3a0
commit 012917f938
2 changed files with 13 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ class InstalledAppsCollectionHeaderView: UICollectionReusableView
self.textLabel = UILabel()
self.textLabel.translatesAutoresizingMaskIntoConstraints = false
self.textLabel.font = UIFont.systemFont(ofSize: 24, weight: .bold)
self.textLabel.accessibilityTraits.insert(.header)
self.button = UIButton(type: .system)
self.button.translatesAutoresizingMaskIntoConstraints = false