CXTDT-584278 – InputField - Accessibility
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
9656389d5c
commit
1c01fabef0
@ -184,6 +184,8 @@ open class InputField: EntryFieldBase {
|
||||
super.setup()
|
||||
accessibilityHintText = "Double tap to edit"
|
||||
|
||||
actionTextLink.accessibilityTraits = .button
|
||||
|
||||
textField.heightAnchor.constraint(equalToConstant: 20).isActive = true
|
||||
textField.delegate = self
|
||||
bottomContainerStackView.insertArrangedSubview(successLabel, at: 0)
|
||||
@ -246,6 +248,11 @@ open class InputField: EntryFieldBase {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
containerView.bridge_accessibilityValueBlock = { [weak self] in
|
||||
guard let self else { return "" }
|
||||
return textField.isSecureTextEntry ? "\(textField.text.count) stars" : value
|
||||
}
|
||||
}
|
||||
|
||||
open override func getFieldContainer() -> UIView {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
1.0.71
|
||||
----------------
|
||||
- CXTDT-581803 - DatePicker - Calendar does not switch to Dark Mode
|
||||
- CXTDT-584278 – InputField - Accessibility
|
||||
|
||||
1.0.70
|
||||
----------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user