From 6117cf13ca50c50009fffa03e94a428a061eed2f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 22:14:09 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20screen?= =?UTF-8?q?=20reader=20accessibility=20for=20command=20suggestions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced symbolic keyboard navigation hints (`↑↓`, `⏎`) with descriptive text ('Up/Down', 'Enter', 'Esc') in the command suggestion list footer. --- .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..af9d44a3 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2026-07-21 - Accessible CLI Navigation Hints +**Learning:** Screen readers in CLI environments rely on raw text output and fail to announce symbolic navigation characters like `↑↓` or `⏎` properly, causing an accessibility regression in Ink overlays. +**Action:** Use visually concise but descriptive text words (e.g., 'Up/Down', 'Enter', 'Esc') instead of pure symbols for keyboard navigation hints to ensure screen reader compatibility. \ No newline at end of file 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 From 71cfb68bea627af57fd209b731ccbd6945e87ef9 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 22:18:23 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20screen?= =?UTF-8?q?=20reader=20accessibility=20for=20command=20suggestions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced symbolic keyboard navigation hints (`↑↓`, `⏎`) with descriptive text ('Up/Down', 'Enter', 'Esc') in the command suggestion list footer. Also fixed a formatting issue in `tests/integration/prompt_templates.test.ts` that caused CI to fail. --- tests/integration/prompt_templates.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/prompt_templates.test.ts b/tests/integration/prompt_templates.test.ts index 21905259..f1360d78 100644 --- a/tests/integration/prompt_templates.test.ts +++ b/tests/integration/prompt_templates.test.ts @@ -36,7 +36,9 @@ describe('Prompt templates', () => { expect(planSystem).toContain('You are SalmonLoop.'); expect(patchSystem).toContain('You are PATCH, a phase-native diff compiler.'); - expect(autopilotSystem).toContain('You are a senior software engineer running in "autopilot" mode.'); + expect(autopilotSystem).toContain( + 'You are a senior software engineer running in "autopilot" mode.', + ); expect(answerSystem).toContain('You are a coding assistant in "answer" mode.'); expect(researchSystem).toContain('You are a research assistant.'); });