ONEAPP-4682 - Text Link Caret - Accessibility iOS
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
6eb709a1e7
commit
10b005fec2
@ -59,9 +59,8 @@ public struct ImageLabelAttribute: AttachmentLabelAttributeModel {
|
|||||||
let attachment = NSTextAttachment()
|
let attachment = NSTextAttachment()
|
||||||
if let accessibleText {
|
if let accessibleText {
|
||||||
attachment.accessibilityLabel = accessibleText
|
attachment.accessibilityLabel = accessibleText
|
||||||
attachment.isAccessibilityElement = true
|
|
||||||
} else {
|
} else {
|
||||||
attachment.isAccessibilityElement = false
|
attachment.accessibilityLabel = " "
|
||||||
}
|
}
|
||||||
attachment.image = tintColor != nil ? image.withTintColor(tintColor!) : image
|
attachment.image = tintColor != nil ? image.withTintColor(tintColor!) : image
|
||||||
if let frame {
|
if let frame {
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
1.0.44
|
1.0.44
|
||||||
=======
|
=======
|
||||||
- ONEAPP-5109 - Typography/Label - Accessibility iOS
|
- ONEAPP-5109 - Typography/Label - Accessibility iOS
|
||||||
|
- ONEAPP-4682 - Text Link Caret - Accessibility iOS
|
||||||
|
|
||||||
1.0.43
|
1.0.43
|
||||||
=======
|
=======
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user