From 2949fdd1b0b1e8c3dcc5919156e22b7b5713abdd Mon Sep 17 00:00:00 2001 From: JOY Date: Mon, 26 Oct 2026 09:05:46 +0700 Subject: [PATCH] fix(a11y): label the /inspect link input (#1088) The input was named only by its placeholder, and the page pre-fills it with a sample URL, so no caption was ever visible. Give it an aria-label from a new inspect.inputAria key and cover /inspect, /contact-us and /compare in the input-labels spec. Co-Authored-By: Claude Opus 5.5 --- apps/web/e2e/input-labels.spec.ts | 12 +++++++++++- apps/web/locales/cs.json | 1 + apps/web/locales/en.json | 1 + apps/web/locales/vi.json | 1 + .../src/components/inspect/DeepInspectWorkspace.tsx | 3 +++ 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/apps/web/e2e/input-labels.spec.ts b/apps/web/e2e/input-labels.spec.ts index 8ca2c665..bcbb7876 100644 --- a/apps/web/e2e/input-labels.spec.ts +++ b/apps/web/e2e/input-labels.spec.ts @@ -3,7 +3,17 @@ import { expect, test } from '@playwright/test'; // A placeholder is not a label: it disappears as soon as the user types. // Every visible field must be named by a