Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-05-24 - Screen Reader Compatibility in CLI Overlays
**Learning:** For complex command-line selection interfaces or overlays using Ink, purely symbolic text (e.g., `↑↓`, `⏎`) fails with screen readers, causing an accessibility regression. Descriptive navigation words must be used.
**Action:** Use visually concise but screen-reader-friendly text like 'Up/Down' and 'Enter' instead of raw symbols.
2 changes: 1 addition & 1 deletion src/cli/ui/components/CommandSuggestionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const CommandSuggestionList: React.FC<CommandSuggestionListProps> = ({
</Box>
<Box>
<Text color={COLORS.text.muted} dimColor>
↑↓ nav Β· ⏎ select Β· esc close
Up/Down nav Β· Enter select Β· Esc close
</Text>
</Box>
</Box>
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/prompt_templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
});
Expand Down
Loading