diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 00000000..4598e907 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-07-06 - CLI Symbol Screen Reader Accessibility +**Learning:** Screen readers in CLI environments rely on raw text output and fail to announce purely symbolic text (e.g., `↑↓`, `⏎`) properly, causing an accessibility regression. +**Action:** Use visually concise but screen-reader-friendly text (e.g., 'Up/Down', 'Enter') for navigation hints instead of pure symbols to ensure accessibility. 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