From fc69bbaada440e96ec31f58e65ca270822e1b98f Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Fri, 15 May 2026 18:19:07 +0000
Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20ARIA=20labels?=
=?UTF-8?q?=20to=20icon-only=20buttons?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Added missing `aria-label` and `title` attributes to icon-only buttons across multiple components to improve accessibility and user experience. Screen readers will now be able to read these actions correctly, and mouse users will see helpful tooltips.
* `src/components/settings/OllamaTab.tsx`: Added to edit ("Modifier") and delete ("Supprimer") buttons.
* `src/components/apps/GithubImportModal.tsx`: Added to close ("Fermer") button.
* `src/components/apps/AppLogsPage.tsx`: Added to clear filter ("Effacer le filtre") button.
* `src/components/costs/CostsDashboard.tsx`: Added to close ("Fermer") button.
Co-authored-by: bobdivx <6737167+bobdivx@users.noreply.github.com>
---
.Jules/palette.md | 3 +++
src/components/apps/AppLogsPage.tsx | 2 +-
src/components/apps/GithubImportModal.tsx | 2 +-
src/components/costs/CostsDashboard.tsx | 2 +-
src/components/settings/OllamaTab.tsx | 4 ++--
5 files changed, 8 insertions(+), 5 deletions(-)
create mode 100644 .Jules/palette.md
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
-