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