fix(tradein/v2): a11y P3a — нативные контролы + модальный диалог + aria-live (#2062) #2076
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2076
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/tradein-v2-a11y-native"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CRITICAL-доступность, часть 1 (#2062 P3). Перевод click-only
<div>на нативные элементы + модальный диалог + статус-анонсы. 0 визуальных изменений (chrome-reset кнопок вынесен в CSS-классы —:hoverи font-size сохранены; проверено code-reviewer'ом после фикса F1–F7).next buildзелёный,tscчисто.Изменения
<div>→<button>: nav-табы (aria-current), user-меню (aria-haspopup/aria-expanded+ Esc-close), «Выйти», «Подробнее →» (4 шт в ResultPanel,aria-labelпо разделу), строки 03 СВОДКИ (ObjectSummary,aria-label). Все с полным style-reset → выглядят идентично.role=dialog+aria-modal+aria-labelledby; Esc-close; фокус на диалог при открытии; focus-trap (Tab/Shift+Tab); возврат фокуса на триггер при закрытии; «← К ОЦЕНКЕ» →<button>.aria-live="polite" role=status— «Идёт расчёт… / Оценка готова / Недостаточно данных / Ошибка загрузки»; фон (content-wrap)inertкогда открыт оверлей/drawer (сами оверлей и drawer остаются интерактивны).Code review
❌→✅: первый проход поймал 7 CSS-cascade регрессий (
font:"inherit"затирал font-size; inlinebackground/colorбил:hover) — все исправлены (reset перенесён в классы). Повторная проверка чистая.Дальше
P3b (отдельный PR): ParamsPanel-форма —
Dd→<button aria-haspopup=listbox>+role=listbox/option+клавиши, БАЛКОН→radiogroup, инпуты<label htmlFor>/aria-invalid— закрывает headline аудита «с клавиатуры нельзя завершить оценку».Прод-QA (клавиатура + axe) — после деплоя. Дочерняя к #2036.