ONEAPP-4682 - Text Link Caret - Accessibility iOS

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-09-21 10:21:51 -05:00
parent 6eb709a1e7
commit 10b005fec2
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -1,6 +1,7 @@
1.0.44
=======
- ONEAPP-5109 - Typography/Label - Accessibility iOS
- ONEAPP-4682 - Text Link Caret - Accessibility iOS
1.0.43
=======