diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..1922e2eb --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-05-15 - Adding aria-label and title to icon-only buttons +**Learning:** Found several modal and tab files using pure SVG icon buttons with no aria-label or title. These components need an accessible name for screen readers. Using both `aria-label` (for screen readers) and `title` (for mouse hover tooltips) provides a universally better experience. +**Action:** When adding icon-only buttons in future features, make sure they have localized (e.g. French) aria-label and title attributes. diff --git a/src/components/apps/AppLogsPage.tsx b/src/components/apps/AppLogsPage.tsx index 7efdb4d9..ef786574 100644 --- a/src/components/apps/AppLogsPage.tsx +++ b/src/components/apps/AppLogsPage.tsx @@ -204,7 +204,7 @@ export default function AppLogsPage({ appName, initialServerId }: Props) { {displayLines.length}/{lines.length} - + )} diff --git a/src/components/apps/GithubImportModal.tsx b/src/components/apps/GithubImportModal.tsx index c962b701..b1a2c89a 100644 --- a/src/components/apps/GithubImportModal.tsx +++ b/src/components/apps/GithubImportModal.tsx @@ -77,7 +77,7 @@ export default function GithubImportModal() { Importer un dépôt - diff --git a/src/components/costs/CostsDashboard.tsx b/src/components/costs/CostsDashboard.tsx index 0526fb60..12d4097b 100644 --- a/src/components/costs/CostsDashboard.tsx +++ b/src/components/costs/CostsDashboard.tsx @@ -120,7 +120,7 @@ function BudgetModal({

Budget — {agent.agentId}

- +
diff --git a/src/components/settings/OllamaTab.tsx b/src/components/settings/OllamaTab.tsx index a628a314..7ba18fad 100644 --- a/src/components/settings/OllamaTab.tsx +++ b/src/components/settings/OllamaTab.tsx @@ -438,10 +438,10 @@ export default function OllamaTab() { - -