From 578cb2ef120cea8ec0105812b2784cc0c152849b Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 31 Jan 2024 10:10:01 -0600 Subject: [PATCH] ONEAPP-6244 - TitleLockup TitleLabel marked as .heading for Accessibility Signed-off-by: Matt Bruce --- VDS/Components/TitleLockup/TitleLockup.swift | 2 ++ VDS/SupportingFiles/ReleaseNotes.txt | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/VDS/Components/TitleLockup/TitleLockup.swift b/VDS/Components/TitleLockup/TitleLockup.swift index 455ed92b..6567de25 100644 --- a/VDS/Components/TitleLockup/TitleLockup.swift +++ b/VDS/Components/TitleLockup/TitleLockup.swift @@ -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 diff --git a/VDS/SupportingFiles/ReleaseNotes.txt b/VDS/SupportingFiles/ReleaseNotes.txt index bf045627..b4ae5bbb 100644 --- a/VDS/SupportingFiles/ReleaseNotes.txt +++ b/VDS/SupportingFiles/ReleaseNotes.txt @@ -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.