CXTDT-577463 - InputField - Accessibility - #5 Password / Inline Action
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
1e0b0279b7
commit
0ee459946f
@ -68,6 +68,12 @@ extension InputField {
|
||||
actionModel.onClick(inputField)
|
||||
}
|
||||
inputField.actionTextLink.isHidden = false
|
||||
// set the accessibilityLabel
|
||||
if let labelText = inputField.labelText {
|
||||
inputField.actionTextLink.bridge_accessibilityLabelBlock = {
|
||||
return "\(actionModel.text) \(labelText)"
|
||||
}
|
||||
}
|
||||
inputField.fieldStackView.setCustomSpacing(VDSLayout.space2X, after: inputField.statusIcon)
|
||||
} else {
|
||||
inputField.actionTextLink.isHidden = true
|
||||
|
||||
@ -41,14 +41,7 @@ extension InputField {
|
||||
guard let self else { return }
|
||||
self.passwordActionType = nextPasswordActionType
|
||||
inputField.setNeedsUpdate()
|
||||
})
|
||||
// set the accessibilityLabel
|
||||
if let labelText = inputField.labelText {
|
||||
inputField.actionTextLink.bridge_accessibilityLabelBlock = {
|
||||
return "\(buttonText) \(labelText)"
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
} else {
|
||||
passwordActionType = .show
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
1.0.70
|
||||
----------------
|
||||
- CXTDT-577463 - InputField - Accessibility - #1 Typing Feedback
|
||||
- CXTDT-577463 - InputField - Accessibility - #5 Password / Inline Action
|
||||
- CXTDT-560485 - Tilelet - Accessibility Icons
|
||||
- DatePicker - Final logic for how the calendar shows.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user