From 7e2fdb30e3d1c0e433ec96f29432b8b5d3562f70 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 19 Apr 2024 15:03:08 -0500 Subject: [PATCH] removed accessibleText Signed-off-by: Matt Bruce --- VDS/Components/TextFields/InputField/InputField.swift | 1 - VDS/Components/TextFields/InputField/TextLinkModel.swift | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/VDS/Components/TextFields/InputField/InputField.swift b/VDS/Components/TextFields/InputField/InputField.swift index bb1831cf..cb013856 100644 --- a/VDS/Components/TextFields/InputField/InputField.swift +++ b/VDS/Components/TextFields/InputField/InputField.swift @@ -309,7 +309,6 @@ open class InputField: EntryFieldBase, UITextFieldDelegate { actionTextLink.surface = surface if let actionTextLinkModel = actionLinkModel { actionTextLink.text = actionTextLinkModel.text - actionTextLink.accessibilityLabel = actionTextLinkModel.accessibleText actionTextLink.isHidden = false containerStackView.setCustomSpacing(VDSLayout.space2X, after: statusIcon) } else { diff --git a/VDS/Components/TextFields/InputField/TextLinkModel.swift b/VDS/Components/TextFields/InputField/TextLinkModel.swift index 09abc023..89235e5e 100644 --- a/VDS/Components/TextFields/InputField/TextLinkModel.swift +++ b/VDS/Components/TextFields/InputField/TextLinkModel.swift @@ -13,15 +13,11 @@ extension InputField { ///Text that goes in the Tab public var text: String - ///Text that goes in the Tab - public var accessibleText: String? - ///Click event when you click on a tab public var onClick: ((TextLink) -> Void)? - public init(text: String, accessibleText: String? = nil, onClick: ((TextLink) -> Void)? = nil) { + public init(text: String, onClick: ((TextLink) -> Void)? = nil) { self.text = text - self.accessibleText = accessibleText self.onClick = onClick } }