CXTDT-560458 - Dropdown & TextArea voiceover behaviour

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-05-24 08:59:02 -05:00
parent 9690f152ef
commit 77109fd264
4 changed files with 11 additions and 2 deletions

View File

@ -101,8 +101,10 @@ open class DatePicker: EntryFieldBase, DatePickerViewControllerDelegate, UIPopov
open override func setup() {
super.setup()
accessibilityLabel = "Dropdown Select"
fieldStackView.isAccessibilityElement = true
fieldStackView.accessibilityLabel = "Date Picker"
fieldStackView.accessibilityHint = "Double Tap to open"
// setting color config
selectedDateLabel.textColorConfiguration = primaryColorConfiguration.eraseToAnyColorable()

View File

@ -90,6 +90,7 @@ open class InputField: EntryFieldBase {
open var textField = TextField().with {
$0.translatesAutoresizingMaskIntoConstraints = false
$0.font = TextStyle.bodyLarge.font
$0.isAccessibilityElement = true
}
/// Color configuration for the textField.

View File

@ -109,6 +109,7 @@ open class TextArea: EntryFieldBase {
$0.isScrollEnabled = false
$0.textContainerInset = .zero
$0.textContainer.lineFragmentPadding = 0
$0.isAccessibilityElement = true
}
open var maxLength: Int? {

View File

@ -1,3 +1,8 @@
1.0.65
----------------
- CXTDT-556996 - RadioboxGroup Accessibility - Voice over does not render the group position
- CXTDT-560458 - Dropdown & TextArea voiceover behaviour
1.0.64
----------------
- CXTDT-555846 - DropdownSelect - Tooltip Icon Spacing