From 4c387e6b4cf376bc505eba1463b773450581b231 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 21:45:39 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Screen=20reader?= =?UTF-8?q?=20friendly=20keyboard=20navigation=20hints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💡 What: Replaced symbolic navigation text (↑↓, ⏎) with descriptive text (Up/Down, Enter) in `CommandSuggestionList.tsx`. 🎯 Why: Screen readers in CLI environments fail to announce symbolic characters properly, making keyboard navigation hints inaccessible to visually impaired users. 📸 Before/After: Before: `↑↓ nav · ⏎ select · esc close`. After: `Up/Down nav · Enter select · Esc close`. ♿ Accessibility: Improved screen reader compatibility by using descriptive text instead of symbols for keyboard instructions. --- .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..d673e321 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2026-07-23 - Screen reader friendly keyboard navigation hints +**Learning:** Screen readers in CLI environments rely on raw text output and fail to announce purely symbolic navigation text (like `↑↓`, `⏎`) properly, causing an accessibility regression. +**Action:** Use visually concise but screen-reader-friendly descriptive text (like 'Up/Down', 'Enter') instead of symbols for keyboard navigation hints in Ink UI components. 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 e6de1f48549edd2f52f70c43bb9f475c7992c87b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 21:48:24 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Fix=20format=20fo?= =?UTF-8?q?r=20prompt=5Ftemplates.test.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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.'); });