diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..5fb8e43 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1 @@ +## 2024-05-24 - Accessibility: ARIA Labels on Navigation Shell\n**Learning:** The global navigation shell contained several icon-only buttons (menu, notifications, dynamic mobile actions) missing screen reader context.\n**Action:** Always verify icon-only buttons have descriptive aria-labels, especially in high-visibility core layout components. diff --git a/src/components/layout/app-shell.tsx b/src/components/layout/app-shell.tsx index c6a1b0f..06198c9 100644 --- a/src/components/layout/app-shell.tsx +++ b/src/components/layout/app-shell.tsx @@ -212,13 +212,13 @@ export function AppShell({ children }: { children: React.ReactNode }) { Lottoping
- - @@ -298,6 +298,7 @@ export function AppShell({ children }: { children: React.ReactNode }) { key={i} onClick={item.action} className="flex flex-col items-center justify-center -mt-12 bg-primary w-16 h-16 rounded-full border-4 border-white dark:border-black shadow-2xl transition-transform active:scale-90" + aria-label={item.label} > @@ -341,7 +342,7 @@ export function AppShell({ children }: { children: React.ReactNode }) {
Entry Wallet - +