add aria-label to buttons and text fields with no label #2710

This commit is contained in:
proddy
2025-11-05 14:02:00 +01:00
parent cda04bef26
commit a1c5297eef
11 changed files with 43 additions and 13 deletions

View File

@@ -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>
))}