Skip to content

Commit 6a4c818

Browse files
authored
Parent - TeacherChat - Compose screen - add accessibilityHint to input fields (#3111)
refs: MBL-18368 affects: Parent release note: None test plan: VoiceOver should read both "subject" and "body" input fields as "text field".
1 parent a319ba5 commit 6a4c818

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Core/Core/Features/Conversations/ComposeViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public class ComposeViewController: UIViewController, ErrorViewController {
101101
bodyView.textColor = .textDarkest
102102
bodyView.textContainerInset = UIEdgeInsets(top: 15.5, left: 11, bottom: 15, right: 11)
103103
bodyView.accessibilityLabel = String(localized: "Message", bundle: .core)
104+
bodyView.accessibilityHint = String(localized: "Text Field", bundle: .core)
104105

105106
subjectField.attributedPlaceholder = NSAttributedString(
106107
string: String(localized: "Subject", bundle: .core),

Core/Core/Resources/Localizable.xcstrings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323397,6 +323397,9 @@
323397323397
}
323398323398
}
323399323399
}
323400+
},
323401+
"Text Field" : {
323402+
323400323403
},
323401323404
"Thanks, your request was received!" : {
323402323405
"localizations" : {

0 commit comments

Comments
 (0)