From 15c70f8770c8857b7e10528eb97767e3da778eeb Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 10:00:50 +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 Co-authored-by: thirdeyenation <133812267+thirdeyenation@users.noreply.github.com> --- .jules/palette.md | 3 +++ .../modals/file-browser/file-browser.html | 8 ++++---- webui/components/sidebar/chats/chats-list.html | 4 ++-- webui/components/sidebar/tasks/tasks-list.html | 13 +++++++------ webui/index.html | 16 ++++++++-------- 5 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 .jules/palette.md diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000000..571f062c62 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-05-14 - Google Material Icons Accessibility +**Learning:** Google Material Icons rely on ligature text (e.g., `content_copy` or `close`) inside ``. Without `aria-hidden="true"`, screen readers will announce this literal ligature text to users, causing severe confusion. The `title` attribute is insufficient for accessibility as some screen reader configurations ignore it. +**Action:** When adding `aria-label` to icon-only action buttons, always ensure the inner icon element (e.g., ``) is explicitly marked with `aria-hidden="true"`. diff --git a/webui/components/modals/file-browser/file-browser.html b/webui/components/modals/file-browser/file-browser.html index 6c531522ed..59bedeec87 100644 --- a/webui/components/modals/file-browser/file-browser.html +++ b/webui/components/modals/file-browser/file-browser.html @@ -103,11 +103,11 @@ - - diff --git a/webui/components/sidebar/chats/chats-list.html b/webui/components/sidebar/chats/chats-list.html index f331d0b003..a0e8240f35 100644 --- a/webui/components/sidebar/chats/chats-list.html +++ b/webui/components/sidebar/chats/chats-list.html @@ -32,8 +32,8 @@

Chats

- diff --git a/webui/components/sidebar/tasks/tasks-list.html b/webui/components/sidebar/tasks/tasks-list.html index 2dc6c08337..09079c0b4b 100644 --- a/webui/components/sidebar/tasks/tasks-list.html +++ b/webui/components/sidebar/tasks/tasks-list.html @@ -41,15 +41,16 @@
- -
diff --git a/webui/index.html b/webui/index.html index abb457f125..4ea4c41ba5 100644 --- a/webui/index.html +++ b/webui/index.html @@ -102,17 +102,17 @@
- - - -