From c8005e0cfcf47cf0f2e380ded4c5c10bf6243f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Wed, 13 May 2026 00:35:05 +0300 Subject: [PATCH] =?UTF-8?q?fix(a11y):=20Q.DEFER.004=20sub-B=20=E2=80=94=20?= =?UTF-8?q?AdminSupplierPricesView=209=20inputs=20aria-label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3 supplier rows × 3 form controls (cost_rub v-text-field + quality_score v-text-field + is_active v-switch) = 9 nodes без label — axe-core критичная label violation. Fix: :aria-label='${field} для ${supplier.name}' (e.g. 'Cost (₽) для B1 — Сайты и Звонки'). Test coverage: AdminSupplierPricesView.spec.ts 4-й spec проверяет все 9 ожидаемых aria-label через DOM query. --- .../views/admin/AdminSupplierPricesView.vue | 10 ++++++++- .../Frontend/AdminSupplierPricesView.spec.ts | 21 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/app/resources/js/views/admin/AdminSupplierPricesView.vue b/app/resources/js/views/admin/AdminSupplierPricesView.vue index 27cc5b86..493b22d5 100644 --- a/app/resources/js/views/admin/AdminSupplierPricesView.vue +++ b/app/resources/js/views/admin/AdminSupplierPricesView.vue @@ -12,6 +12,7 @@ density="compact" hide-details variant="plain" + :aria-label="`Cost (₽) для ${item.name}`" />