diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..2629d99 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-03-10 - Consistent Focus States and ARIA labels +**Learning:** Interactive elements like icon-only buttons need explicit 'aria-label' for screen readers. While 'focus-visible' is great for keyboard users to avoid clutter for mouse users, text inputs and select elements should still use 'focus:ring' because mouse users also expect a clear visual indicator of the active field. +**Action:** Apply 'aria-label' to all icon-only buttons and use a combination of 'focus:ring' and 'focus-visible:ring-offset' for inputs to ensure a balanced UX for all input methods. diff --git a/web/src/components/AccountCard.tsx b/web/src/components/AccountCard.tsx index 41e5fd2..65911a9 100644 --- a/web/src/components/AccountCard.tsx +++ b/web/src/components/AccountCard.tsx @@ -108,8 +108,9 @@ export function AccountCard({ account, index, onDelete, proxies, onProxyChange }