Prevent VO from reading the placeholder-text views

This commit is contained in:
Angelo Stavrow 2020-12-30 10:34:54 -05:00
parent 608c66e543
commit 69cd86c1da
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -41,6 +41,7 @@ struct PostTextEditingView: View {
.foregroundColor(Color(UIColor.placeholderText))
.padding(.horizontal, 4)
.padding(.vertical, 8)
.accessibilityHidden(true)
}
PostTitleTextView(
text: $post.title,
@ -68,6 +69,7 @@ struct PostTextEditingView: View {
.foregroundColor(Color(UIColor.placeholderText))
.padding(.horizontal, 4)
.padding(.vertical, 8)
.accessibilityHidden(true)
}
PostBodyTextView(
text: $post.body,