diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 00000000..bc3509c2 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2026-07-18 - Avoid symbolic text for keyboard navigation hints +**Learning:** Screen readers in CLI environments rely on raw text output and fail to announce purely symbolic text (like `↑↓`, `⏎`) properly, causing an accessibility regression for navigation hints. +**Action:** Use visually concise but screen-reader-friendly text (like 'Up/Down', 'Enter') for descriptive navigation words 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