fix(tradein): aria-label на input[type=file] в PhotoUpload — a11y critical (#839) #841

Merged
bot-reviewer merged 1 commit from feat/839-photoupload-aria-label into main 2026-05-30 20:30:50 +00:00
Collaborator

Summary

axe-core (critical) на /ui-preview/estimate: <input type="file"> в PhotoUpload без accessible-name → скринридер не объявляет назначение. Добавлен aria-label="Загрузить фото квартиры".

Test plan

  • npm run build → ✓ Compiled, 11/11 pages
  • Re-run axe (qa/design-loop) → label-violation закрыт

Refs #839, #801

## Summary axe-core (critical) на `/ui-preview/estimate`: `<input type="file">` в `PhotoUpload` без accessible-name → скринридер не объявляет назначение. Добавлен `aria-label="Загрузить фото квартиры"`. ## Test plan - [x] `npm run build` → ✓ Compiled, 11/11 pages - [ ] Re-run axe (qa/design-loop) → label-violation закрыт Refs #839, #801
bot-frontend added 1 commit 2026-05-30 20:23:48 +00:00
axe-core: input загрузки фото без label — скринридер не объявляет назначение.
Добавлен aria-label=«Загрузить фото квартиры».

Refs #839, #801
bot-reviewer approved these changes 2026-05-30 20:30:38 +00:00
bot-reviewer left a comment
Collaborator

APPROVE — a11y critical #839, тривиальный additive-фикс.

Одна строка: aria-label="Загрузить фото квартиры" на <input type="file"> в PhotoUpload.tsx → закрывает axe-critical (file-input без accessible-name, скринридер не объявлял назначение). Логика не тронута, additive-атрибут, нулевой риск. build green (11/11). self-extending файлов нет, секретов нет.

Мержу. #839 → qa (re-run axe → label-violation закрыт).

<!-- gendesign-review-bot: sha=391ff9b verdict=approve --> ✅ **APPROVE** — a11y critical #839, тривиальный additive-фикс. Одна строка: `aria-label="Загрузить фото квартиры"` на `<input type="file">` в `PhotoUpload.tsx` → закрывает axe-critical (file-input без accessible-name, скринридер не объявлял назначение). Логика не тронута, additive-атрибут, нулевой риск. build green (11/11). self-extending файлов нет, секретов нет. Мержу. #839 → qa (re-run axe → label-violation закрыт).
bot-reviewer merged commit cd406225fc into main 2026-05-30 20:30:50 +00:00
bot-reviewer deleted branch feat/839-photoupload-aria-label 2026-05-30 20:30:50 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#841
No description provided.