Fixed accessibility issues in VPN Settings

- Show "(required)" and errors in required fields to alert users

- Show "(optional)" below each optional field

Bug: 386025633
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigController2Test
Change-Id: Iefbd68e6658af7b073db219b3e04e94805092759
This commit is contained in:
Weng Su
2025-03-06 15:41:42 +08:00
parent 170531768d
commit 3cdc1a58a7
9 changed files with 137 additions and 105 deletions

View File

@@ -21,7 +21,7 @@ import androidx.appcompat.app.AlertDialog
class WifiDialogHelper(
alertDialog: AlertDialog,
private val ssidInputGroup: SsidInputGroup? = null,
private val ssidInputGroup: TextInputGroup? = null,
) : AlertDialogHelper(alertDialog) {
override fun canDismiss(): Boolean {