Digital ACT-191 CXTDT-546821 defect: TextArea - Accessibility
This commit is contained in:
parent
14d77ef81f
commit
0841a6d9f7
@ -160,6 +160,7 @@ open class TextArea: EntryFieldBase {
|
||||
/// Called once when a view is initialized and is used to Setup additional UI or other constants and configurations.
|
||||
open override func setup() {
|
||||
super.setup()
|
||||
isAccessibilityElement = false
|
||||
validator = FormFieldValidator<TextArea>(field: self, rules: [.init(countRule)])
|
||||
|
||||
containerStackView.pinToSuperView(.uniform(VDSFormControls.spaceInset))
|
||||
@ -238,7 +239,6 @@ open class TextArea: EntryFieldBase {
|
||||
/// Used to update any Accessibility properties.
|
||||
open override func updateAccessibility() {
|
||||
super.updateAccessibility()
|
||||
isAccessibilityElement = false
|
||||
if showError {
|
||||
accessibilityElements = [titleLabel, textView, icon, errorLabel, helperLabel]
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user