added a placeholder to the pin text field to describe its content in voice over mode

This commit is contained in:
Mauro Romito
2025-07-18 17:34:44 +02:00
committed by Mauro
parent 82e313044e
commit 6dfeb9db10

View File

@@ -32,9 +32,9 @@ struct PINTextField: View {
@ViewBuilder
var textField: some View {
if isSecure {
SecureField("", text: $pinCode)
SecureField(L10n.a11yPinField, text: $pinCode)
} else {
TextField("", text: $pinCode)
TextField(L10n.a11yPinField, text: $pinCode)
}
}