CXTDT-577463 - InputField - Accessibility - Issue #5
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
801b488eb4
commit
1e0b0279b7
@ -42,6 +42,13 @@ extension InputField {
|
||||
self.passwordActionType = nextPasswordActionType
|
||||
inputField.setNeedsUpdate()
|
||||
})
|
||||
// set the accessibilityLabel
|
||||
if let labelText = inputField.labelText {
|
||||
inputField.actionTextLink.bridge_accessibilityLabelBlock = {
|
||||
return "\(buttonText) \(labelText)"
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
passwordActionType = .show
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user