From da860f26a334dcd74dd943a2738724f6945e78a4 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 09:32:37 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20ARIA=20labels?= =?UTF-8?q?=20and=20hide=20ligature=20text=20for=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 +++ webui/components/welcome/welcome-screen.html | 15 +++++++++------ webui/index.html | 16 ++++++++-------- 3 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 .jules/palette.md diff --git a/.jules/palette.md b/.jules/palette.md new file mode 100644 index 0000000000..557904ea23 --- /dev/null +++ b/.jules/palette.md @@ -0,0 +1,3 @@ +## 2024-05-11 - Add ARIA labels and hide ligature text for icon-only buttons +**Learning:** Icon-only buttons using ligature fonts (like Material Symbols) need both `aria-label` on the button and `aria-hidden="true"` on the inner ligature icon, otherwise screen readers read the raw ligature text instead of the button's intended purpose. +**Action:** Always add `aria-hidden="true"` to `` and ensure the parent button has an `aria-label` when the button is icon-only. diff --git a/webui/components/welcome/welcome-screen.html b/webui/components/welcome/welcome-screen.html index 947dd6d84e..c9ffa115f9 100644 --- a/webui/components/welcome/welcome-screen.html +++ b/webui/components/welcome/welcome-screen.html @@ -59,8 +59,9 @@

Visit Website

class="welcome-refresh-button" @click="$store.welcomeStore.refreshBanners(true)" :disabled="$store.welcomeStore.bannersLoading" - title="Refresh banners"> - refresh + title="Refresh banners" + aria-label="Refresh banners"> + @@ -93,8 +95,9 @@

Visit Website

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 @@
- - - -