fix(tradein): aria-label на input[type=file] в PhotoUpload (a11y critical)
axe-core: input загрузки фото без label — скринридер не объявляет назначение. Добавлен aria-label=«Загрузить фото квартиры». Refs #839, #801
This commit is contained in:
parent
068bd8b5f8
commit
391ff9bed8
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ export function PhotoUpload({ estimateId }: { estimateId: string }) {
|
||||||
type="file"
|
type="file"
|
||||||
accept="image/*"
|
accept="image/*"
|
||||||
multiple
|
multiple
|
||||||
|
aria-label="Загрузить фото квартиры"
|
||||||
disabled={uploading || full}
|
disabled={uploading || full}
|
||||||
onChange={(e) => handleFiles(e.target.files)}
|
onChange={(e) => handleFiles(e.target.files)}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue