From 1a38e2a081aa943787f73d15d3abbc78dc9f5c39 Mon Sep 17 00:00:00 2001 From: Dustin Healy <54083382+dustinhealy@users.noreply.github.com> Date: Mon, 1 Dec 2025 07:08:28 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=A3=20feat:=20MCP=20Status=20Accessibi?= =?UTF-8?q?lity=20Improvements=20(#10738)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: make MultiSelect highlight same opacity as other focus highlights in app * feat: add better screenreader announcements for mcp server and variable states * feat: memoize fullTitle calculation --- .../components/MCP/CustomUserVarsSection.tsx | 27 ++++++++------- client/src/components/MCP/MCPConfigDialog.tsx | 34 +++++++++++++++++-- client/src/locales/en/translation.json | 1 + .../client/src/components/MultiSelect.tsx | 2 +- 4 files changed, 49 insertions(+), 15 deletions(-) diff --git a/client/src/components/MCP/CustomUserVarsSection.tsx b/client/src/components/MCP/CustomUserVarsSection.tsx index 35e613dd42..987613e24c 100644 --- a/client/src/components/MCP/CustomUserVarsSection.tsx +++ b/client/src/components/MCP/CustomUserVarsSection.tsx @@ -27,6 +27,7 @@ interface AuthFieldProps { function AuthField({ name, config, hasValue, control, errors }: AuthFieldProps) { const localize = useLocalize(); + const statusText = hasValue ? localize('com_ui_set') : localize('com_ui_unset'); const sanitizer = useMemo(() => { const instance = DOMPurify(); @@ -60,19 +61,21 @@ function AuthField({ name, config, hasValue, control, errors }: AuthFieldProps)
- {hasValue ? ( -
-
- {localize('com_ui_set')} -
- ) : ( -
-
- {localize('com_ui_unset')} -
- )} +