From b670add7e3bdcc843f23e56cbc75133eba62370c Mon Sep 17 00:00:00 2001 From: ManasBagul23 Date: Sun, 4 Oct 2026 12:20:21 +0530 Subject: [PATCH 1/2] fix(frontend): give the share-mode radio buttons an enclosing radiogroup ShareAlbumDialog's local-network/internet toggle buttons declare role="radio" but their wrapping div has no role="radiogroup", which WAI-ARIA 1.2 requires for role="radio" to be valid. Screen readers announce the buttons as unlinked controls instead of a mutually exclusive group with position context ("1 of 2"). Fixes #1529 --- frontend/src/components/Albums/ShareAlbumDialog.tsx | 6 +++++- .../Albums/__tests__/ShareAlbumDialog.test.tsx | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Albums/ShareAlbumDialog.tsx b/frontend/src/components/Albums/ShareAlbumDialog.tsx index 52d59395a..84328f403 100644 --- a/frontend/src/components/Albums/ShareAlbumDialog.tsx +++ b/frontend/src/components/Albums/ShareAlbumDialog.tsx @@ -476,7 +476,11 @@ export const ShareAlbumDialog: React.FC = ({
{/* Full width, because this is the decision the rest of the form hangs off rather than one setting among several. */} -
+
{MODE_OPTIONS.map((option) => ( + + ))} -
+ {mode === 'internet' && (