Fixed accessibility issues in Wi-Fi password view for SUW
- Keep the Save button enabled at all times - Show "*required" or "The password is invalid" to remind the user Bug: 386897596 Flag: EXEMPT bugfix Test: Manual testing atest WifiConfigControllerTest Change-Id: I442d2f958efd85f3c92309d0bed7cd3aa9ec9876
This commit is contained in:
@@ -62,6 +62,8 @@
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/wifi_ssid"
|
||||
android:textDirection="locale"
|
||||
app:helperTextEnabled="true"
|
||||
app:helperText="@string/wifi_field_required"
|
||||
app:endIconMode="clear_text">
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/ssid"
|
||||
@@ -345,6 +347,8 @@
|
||||
android:id="@+id/password_input_layout"
|
||||
style="@style/Widget.Network.TextInputLayout.WifiConfig"
|
||||
android:hint="@string/wifi_password"
|
||||
app:helperTextEnabled="true"
|
||||
app:helperText="@string/wifi_field_required"
|
||||
app:endIconMode="password_toggle">
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/password"
|
||||
|
Reference in New Issue
Block a user