Fix message composer textfield accessibility label (#688)
This commit is contained in:
@@ -41,6 +41,7 @@ struct MessageComposerTextField: View {
|
||||
isMultiline: $isMultiline,
|
||||
maxHeight: maxHeight,
|
||||
onEnterKeyHandler: onEnterKeyHandler)
|
||||
.accessibilityLabel(placeholder)
|
||||
.background(placeholderView, alignment: .topLeading)
|
||||
}
|
||||
|
||||
@@ -49,6 +50,7 @@ struct MessageComposerTextField: View {
|
||||
if showingPlaceholder {
|
||||
Text(placeholder)
|
||||
.foregroundColor(placeholderColor)
|
||||
.accessibilityHidden(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
changelog.d/pr-688.bugfix
Normal file
1
changelog.d/pr-688.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Hide the message composer textfield placeholder for VoiceOver users by Sem Pruijs
|
||||
Reference in New Issue
Block a user