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