mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Hide the message composer textfield placeholder for VoiceOver users by Sem Pruijs
|
||||
Reference in New Issue
Block a user