mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-05-11 00:15:51 +00:00
add aria-label to buttons and text fields with no label #2710
This commit is contained in:
@@ -25,7 +25,11 @@ const ValidatedPasswordField: FC<ValidatedPasswordFieldProps> = ({ ...props }) =
|
||||
input: {
|
||||
endAdornment: (
|
||||
<InputAdornment position="end">
|
||||
<IconButton onClick={togglePasswordVisibility} edge="end">
|
||||
<IconButton
|
||||
onClick={togglePasswordVisibility}
|
||||
edge="end"
|
||||
aria-label="Password visibility"
|
||||
>
|
||||
{showPassword ? <VisibilityIcon /> : <VisibilityOffIcon />}
|
||||
</IconButton>
|
||||
</InputAdornment>
|
||||
|
||||
Reference in New Issue
Block a user