From a3764046f33486532ffda89e2c781c88cd7c0c86 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 27 Oct 2026 20:46:14 +0000 Subject: [PATCH 1/2] fix(app-shell): name Studio's group-title, Description, Help text and nav-item inputs The form designer's inline group-title input takes the group inspector's "Group name" label as its aria-label. The field inspector's local TextareaField closes its label/textarea pair with a per-instance useId(), which names Description and Help text. The nav-item inspector ties its "Link to object" and "Label" labels to their controls with htmlFor. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jT6kwaZ4RiKsDR3s5f --- .changeset/26732-studio-input-names.md | 10 +++ ...ieldInspector.textareaNames-26732.test.tsx | 81 +++++++++++++++++++ .../inspectors/ObjectFieldInspector.tsx | 6 +- ...FormDesigner.groupTitleName-26732.test.tsx | 41 ++++++++++ .../studio-design/ObjectFormDesigner.tsx | 3 + ...rface.navItemInspectorNames-26732.test.tsx | 58 +++++++++++++ .../studio-design/StudioDesignSurface.tsx | 15 +++- 7 files changed, 210 insertions(+), 4 deletions(-) create mode 100644 .changeset/26732-studio-input-names.md create mode 100644 ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.textareaNames-26732.test.tsx create mode 100644 ui/packages/app-shell/src/views/studio-design/ObjectFormDesigner.groupTitleName-26732.test.tsx create mode 100644 ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.navItemInspectorNames-26732.test.tsx diff --git a/.changeset/26732-studio-input-names.md b/.changeset/26732-studio-input-names.md new file mode 100644 index 00000000000..66cee1e26c1 --- /dev/null +++ b/.changeset/26732-studio-input-names.md @@ -0,0 +1,10 @@ +--- +'@object-ui/app-shell': patch +--- + +fix(app-shell): Studio's group-title, Description, Help text, nav "Link to object" and nav "Label" inputs have accessible names + +Clause-②: no +Metadata-protocol: none + +Five Studio inputs were anonymous to screen readers and automated accessibility checks. The form designer's inline group-title input is now named "Group name", the label the group inspector gives the same value. The field inspector's Description and Help text textareas, and the Interfaces nav-item inspector's "Link to object" picker and "Label" input, are now tied to the labels already drawn above them, so each is announced by its label and clicking the label focuses it. Nothing changes visually and nothing changes in what is saved. diff --git a/ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.textareaNames-26732.test.tsx b/ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.textareaNames-26732.test.tsx new file mode 100644 index 00000000000..8b55a6dd4e3 --- /dev/null +++ b/ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.textareaNames-26732.test.tsx @@ -0,0 +1,81 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +/** + * objectstack#26732 — the field inspector's Description and Help text + * textareas are named by their visible labels. + * + * Before: the local `TextareaField` drew its `