diff --git a/VDS/Components/TextFields/InputField/InputField.swift b/VDS/Components/TextFields/InputField/InputField.swift index 9adf34f2..f7f54896 100644 --- a/VDS/Components/TextFields/InputField/InputField.swift +++ b/VDS/Components/TextFields/InputField/InputField.swift @@ -204,12 +204,23 @@ open class InputField: EntryFieldBase { if let text = titleLabel.text?.trimmingCharacters(in: .whitespaces) { accessibilityLabels.append(text) } + + if let formatText = textField.formatText, !formatText.isEmpty { + accessibilityLabels.append("format, \(formatText)") + } + + if let placeholderText = textField.placeholder, !placeholderText.isEmpty { + accessibilityLabels.append("placeholder, \(placeholderText)") + } + if isReadOnly { accessibilityLabels.append("read only") } + if !isEnabled { accessibilityLabels.append("dimmed") } + if let errorText, showError { accessibilityLabels.append("error, \(errorText)") }