Hide the circle and grabber icons from a11y tools

This commit is contained in:
Jed Fox 2023-02-07 16:57:08 -05:00
parent 5637056790
commit 9f541957a7
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public struct PollOptionRow: View {
.padding(.leading, 16)
.padding(.trailing, 16 - 10) // 8pt for TextField leading
.font(.system(size: 17))
.accessibilityHidden(true)
let field = PollOptionTextField(
text: $viewModel.text,
index: index,
@ -102,6 +103,7 @@ public struct PollOptionRow: View {
.shadow(color: .black.opacity(0.3), radius: 2, x: 0, y: 1)
Image(uiImage: Asset.Scene.Compose.reorderDot.image.withRenderingMode(.alwaysTemplate))
.foregroundColor(Color(UIColor.label))
.accessibilityHidden(true)
}
.background(Color.clear)
}