From 74eafdefa9c48fe32e59bd222334e4bc16c8af3a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 14:15:11 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20ARIA=20labe?= =?UTF-8?q?ls=20to=20icon-only=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: zcesur <17045339+zcesur@users.noreply.github.com> --- .Jules/palette.md | 3 +++ lib/algora_web/live/bounty_live.ex | 4 +++- lib/algora_web/live/contract/view_live.ex | 5 +++-- lib/algora_web/live/contract_live.ex | 3 ++- lib/algora_web/live/org/dashboard_live.ex | 7 ++++--- 5 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 000000000..38309291a --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-06-26 - Adding ARIA labels to icon buttons +**Learning:** Icon buttons used throughout the application without accompanying text needed explicit ARIA labels to ensure screen reader accessibility. I noticed this pattern was present across various chat and contract components. +**Action:** Ensure all button components with size icon include an aria-label attribute if they only contain an icon. diff --git a/lib/algora_web/live/bounty_live.ex b/lib/algora_web/live/bounty_live.ex index 058f97643..38079a8ed 100644 --- a/lib/algora_web/live/bounty_live.ex +++ b/lib/algora_web/live/bounty_live.ex @@ -436,6 +436,7 @@ defmodule AlgoraWeb.BountyLive do size="icon-sm" phx-click="exclusive" class="group h-6 w-6" + aria-label="Edit" > <.icon name="tabler-pencil" @@ -584,12 +585,13 @@ defmodule AlgoraWeb.BountyLive do size="icon-sm" phx-hook="EmojiPicker" id="emoji-trigger" + aria-label="Add emoji" > <.icon name="tabler-mood-smile" class="h-4 w-4" /> - <.button type="submit" size="icon"> + <.button type="submit" size="icon" aria-label="Send message"> <.icon name="tabler-send" class="h-4 w-4" /> diff --git a/lib/algora_web/live/contract/view_live.ex b/lib/algora_web/live/contract/view_live.ex index 9815f9942..1c2647ca2 100644 --- a/lib/algora_web/live/contract/view_live.ex +++ b/lib/algora_web/live/contract/view_live.ex @@ -181,7 +181,7 @@ defmodule AlgoraWeb.Contract.ViewLive do <.dropdown_menu> <.dropdown_menu_trigger> - <.button variant="ghost" size="icon"> + <.button variant="ghost" size="icon" aria-label="Open menu"> <.icon name="tabler-dots-vertical" class="h-4 w-4" /> @@ -428,12 +428,13 @@ defmodule AlgoraWeb.Contract.ViewLive do size="icon-sm" phx-hook="EmojiPicker" id="emoji-trigger" + aria-label="Add emoji" > <.icon name="tabler-mood-smile" class="h-4 w-4" /> - <.button type="submit" size="icon"> + <.button type="submit" size="icon" aria-label="Send message"> <.icon name="tabler-send" class="h-4 w-4" /> diff --git a/lib/algora_web/live/contract_live.ex b/lib/algora_web/live/contract_live.ex index 434b6401a..73964ef37 100644 --- a/lib/algora_web/live/contract_live.ex +++ b/lib/algora_web/live/contract_live.ex @@ -738,12 +738,13 @@ defmodule AlgoraWeb.ContractLive do size="icon-sm" phx-hook="EmojiPicker" id="emoji-trigger" + aria-label="Add emoji" > <.icon name="tabler-mood-smile" class="h-4 w-4" /> - <.button type="submit" size="icon"> + <.button type="submit" size="icon" aria-label="Send message"> <.icon name="tabler-send" class="h-4 w-4" /> diff --git a/lib/algora_web/live/org/dashboard_live.ex b/lib/algora_web/live/org/dashboard_live.ex index 04ed7a87b..b3a0d0636 100644 --- a/lib/algora_web/live/org/dashboard_live.ex +++ b/lib/algora_web/live/org/dashboard_live.ex @@ -1378,7 +1378,7 @@ defmodule AlgoraWeb.Org.DashboardLive do <%!-- <.dropdown_menu> <.dropdown_menu_trigger> - <.button variant="ghost" size="icon"> + <.button variant="ghost" size="icon" aria-label="Open menu"> <.icon name="tabler-dots" class="h-4 w-4" /> @@ -1572,7 +1572,7 @@ defmodule AlgoraWeb.Org.DashboardLive do

Algora Founders

- <.button variant="ghost" size="icon" phx-click="close_chat"> + <.button variant="ghost" size="icon" phx-click="close_chat" aria-label="Close chat"> <.icon name="tabler-x" class="h-4 w-4" /> @@ -1644,12 +1644,13 @@ defmodule AlgoraWeb.Org.DashboardLive do size="icon-sm" phx-hook="EmojiPicker" id="emoji-trigger" + aria-label="Add emoji" > <.icon name="tabler-mood-smile" class="h-4 w-4" /> - <.button type="submit" size="icon"> + <.button type="submit" size="icon" aria-label="Send message"> <.icon name="tabler-send" class="h-4 w-4" /> From 8548691c85979617cd61709201d9688fb99ba42a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 14:23:40 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20ARIA=20labe?= =?UTF-8?q?ls=20to=20icon-only=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: zcesur <17045339+zcesur@users.noreply.github.com> From faea6edfee7f981ac63bd21762aa1c02c2573c8c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 14:26:23 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Remove=20journal?= =?UTF-8?q?=20file=20as=20requested?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: zcesur <17045339+zcesur@users.noreply.github.com> --- .Jules/palette.md | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md deleted file mode 100644 index 38309291a..000000000 --- a/.Jules/palette.md +++ /dev/null @@ -1,3 +0,0 @@ -## 2026-06-26 - Adding ARIA labels to icon buttons -**Learning:** Icon buttons used throughout the application without accompanying text needed explicit ARIA labels to ensure screen reader accessibility. I noticed this pattern was present across various chat and contract components. -**Action:** Ensure all button components with size icon include an aria-label attribute if they only contain an icon.