Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
ebbbffc86e
commit
c39a89a3f3
@ -183,6 +183,15 @@ open class DatePicker: EntryFieldBase<String> {
|
|||||||
showPopover()
|
showPopover()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
containerView.accessibilityTraits = [.button]
|
||||||
|
|
||||||
|
containerView.bridge_accessibilityHintBlock = { [weak self] in
|
||||||
|
guard let self else { return "" }
|
||||||
|
return isReadOnly || !isEnabled
|
||||||
|
? ""
|
||||||
|
: isCalendarShowing ? "Expanded, Double tap to close" : "Collapsed, \(accessibilityHintText)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func getFieldContainer() -> UIView {
|
open override func getFieldContainer() -> UIView {
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
1.0.74
|
||||||
|
----------------
|
||||||
|
- CXTDT-591307 - DatePicker - Accessibility - #1 & #2
|
||||||
|
|
||||||
1.0.73
|
1.0.73
|
||||||
----------------
|
----------------
|
||||||
- CXTDT-597984 - Table - Text wrap
|
- CXTDT-597984 - Table - Text wrap
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user