From c0fece8316ff272af76c9f6c977c14a6d14aeadd Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 10:41:58 +0000 Subject: [PATCH] Add ARIA labels to custom toggle switches in Fraternitees portal Added explicit `aria-label` attributes to the custom icon-only toggle switches in the Fraternitees portal to ensure screen reader accessibility. Co-authored-by: brycejohnson1417 <257422776+brycejohnson1417@users.noreply.github.com> --- components/fraternitees/fraternitees-portal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/fraternitees/fraternitees-portal.tsx b/components/fraternitees/fraternitees-portal.tsx index ecc1890..45c7bf7 100644 --- a/components/fraternitees/fraternitees-portal.tsx +++ b/components/fraternitees/fraternitees-portal.tsx @@ -181,6 +181,7 @@ function PluginToggle({ type="button" role="switch" aria-checked={enabled} + aria-label={`Toggle ${label}`} disabled={disabled} onClick={onToggle} className={classNames( @@ -1038,6 +1039,7 @@ export function FraterniteesWorkspace({ type="button" role="switch" aria-checked={dailyAutoSync.enabled} + aria-label="Toggle automatic daily sync" onClick={() => void updateDailyAutoSync(!dailyAutoSync.enabled)} className={classNames( "relative h-7 w-12 shrink-0 rounded-full border transition",