From 1741fcf5b53e74148def7338a149062fd282cb34 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 10 May 2026 17:31:29 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20[UX=20improvement]=20?= =?UTF-8?q?Add=20ARIA=20labels=20to=20icon-only=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added `aria-label`s to the "clear filter" button in `AppLogsPage.tsx` and the modal close button in `GithubImportModal.tsx` to improve accessibility for screen readers. 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 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..f260cd5b --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2024-05-10 - Missing ARIA labels on Icon-only utility buttons +**Learning:** Common utility buttons like modal close elements ("✕", SVGs) and input clearing buttons consistently lack `aria-label` properties, degrading the screen-reader experience. +**Action:** When adding or refactoring utility interactions, proactively evaluate and append `aria-label` (e.g., `aria-label="Fermer"`, `aria-label="Effacer le filtre"`) to icon-only buttons to conform to accessibility standards. diff --git a/src/components/apps/AppLogsPage.tsx b/src/components/apps/AppLogsPage.tsx index 7efdb4d9..9d55f856 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..3abe7bc4 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 -