ONEAPP-6244 - TitleLockup TitleLabel marked as .heading for Accessibility

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-01-31 10:10:01 -06:00
parent 3448954ddc
commit 578cb2ef12
2 changed files with 6 additions and 0 deletions

View File

@ -77,6 +77,7 @@ open class TitleLockup: View {
/// Label used to render the title model.
open var titleLabel = Label().with {
$0.setContentCompressionResistancePriority(.required, for: .vertical)
$0.accessibilityTraits.insert([.header])
}
/// Model used in rendering the title label.
@ -388,3 +389,4 @@ open class TitleLockup: View {
}
}
6

View File

@ -1,3 +1,7 @@
1.0.52
----------------
- ONEAPP-6244 - TitleLockup TitleLabel marked as .heading for Accessibility.
1.0.51
----------------
- ONEAPP-6239 - Loader is still showing when inactive.