From a1e7d4a73701075a833d3ce26f181f50d4c155b7 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 21:54:06 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20screen=20re?= =?UTF-8?q?ader=20accessibility=20for=20CLI=20navigation=20hints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced symbolic navigation arrows (`↑↓`, `⏎`) with descriptive text (`Up/Down`, `Enter`) in the command suggestion list component to ensure that screen readers can accurately interpret and announce keyboard navigation instructions in the terminal. --- .jules/palette.md | 3 +++ src/cli/ui/components/CommandSuggestionList.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .jules/palette.md diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 00000000..6d8b4e18 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2026-07-16 - Replace Symbolic Text with Screen-Reader-Friendly Text in CLI +**Learning:** For complex command-line selection interfaces or overlays using Ink, while concise microcopy saves horizontal space, do NOT replace descriptive navigation words (like 'Up/Down', 'Enter') with purely symbolic text (e.g., `↑↓`, `⏎`). Screen readers in CLI environments rely on raw text output and fail to announce these symbols properly, causing an accessibility regression. +**Action:** Use visually concise but screen-reader-friendly text. diff --git a/src/cli/ui/components/CommandSuggestionList.tsx b/src/cli/ui/components/CommandSuggestionList.tsx index 7e66838a..d51fe548 100644 --- a/src/cli/ui/components/CommandSuggestionList.tsx +++ b/src/cli/ui/components/CommandSuggestionList.tsx @@ -116,7 +116,7 @@ export const CommandSuggestionList: React.FC = ({ - ↑↓ nav · ⏎ select · esc close + Up/Down nav · Enter select · Esc close