From 10b005fec28a5eec2aa638bdda1b9c41f5c5fee7 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 21 Sep 2023 10:21:51 -0500 Subject: [PATCH 1/2] ONEAPP-4682 - Text Link Caret - Accessibility iOS Signed-off-by: Matt Bruce --- VDS/Components/Label/Attributes/ImageLabelAttribute.swift | 3 +-- VDS/SupportingFiles/ReleaseNotes.txt | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VDS/Components/Label/Attributes/ImageLabelAttribute.swift b/VDS/Components/Label/Attributes/ImageLabelAttribute.swift index 2596b316..645c0013 100644 --- a/VDS/Components/Label/Attributes/ImageLabelAttribute.swift +++ b/VDS/Components/Label/Attributes/ImageLabelAttribute.swift @@ -59,9 +59,8 @@ public struct ImageLabelAttribute: AttachmentLabelAttributeModel { let attachment = NSTextAttachment() if let accessibleText { attachment.accessibilityLabel = accessibleText - attachment.isAccessibilityElement = true } else { - attachment.isAccessibilityElement = false + attachment.accessibilityLabel = " " } attachment.image = tintColor != nil ? image.withTintColor(tintColor!) : image if let frame { diff --git a/VDS/SupportingFiles/ReleaseNotes.txt b/VDS/SupportingFiles/ReleaseNotes.txt index fa341e8d..7531c46f 100644 --- a/VDS/SupportingFiles/ReleaseNotes.txt +++ b/VDS/SupportingFiles/ReleaseNotes.txt @@ -1,6 +1,7 @@ 1.0.44 ======= - ONEAPP-5109 - Typography/Label - Accessibility iOS +- ONEAPP-4682 - Text Link Caret - Accessibility iOS 1.0.43 ======= From 81733bdc1f1c17ee7b3c53df1d385f8126532e61 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 21 Sep 2023 10:25:11 -0500 Subject: [PATCH 2/2] updated version to 44 Signed-off-by: Matt Bruce --- VDS.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VDS.xcodeproj/project.pbxproj b/VDS.xcodeproj/project.pbxproj index 4da82fd2..d782bcfa 100644 --- a/VDS.xcodeproj/project.pbxproj +++ b/VDS.xcodeproj/project.pbxproj @@ -1175,7 +1175,7 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 43; + CURRENT_PROJECT_VERSION = 44; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; @@ -1212,7 +1212,7 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 43; + CURRENT_PROJECT_VERSION = 44; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1;