mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-05-15 18:45:53 +00:00
add aria-label to buttons and text fields with no label #2710
This commit is contained in:
@@ -21,7 +21,7 @@ const ValidatedTextField: FC<ValidatedTextFieldProps> = ({
|
||||
|
||||
return (
|
||||
<>
|
||||
<TextField error={!!errors} {...rest} />
|
||||
<TextField error={!!errors} {...rest} aria-label="Error" />
|
||||
{errors?.map((e) => (
|
||||
<FormHelperText key={e.message}>{e.message}</FormHelperText>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user