From 491f48a331b80fa84e0ac82e3fd0341557adbff5 Mon Sep 17 00:00:00 2001 From: c0mrade Date: Mon, 25 May 2026 23:57:36 +0300 Subject: [PATCH] fix(a11y): switch semantics for user-flow toggles Add role=switch + aria-checked + aria-label to the custom toggle buttons so screen readers announce on/off state (WCAG 4.1.2): autopay (Subscription) and the custom-days / custom-traffic toggles (SubscriptionPurchase). --- src/pages/Subscription.tsx | 3 +++ src/pages/SubscriptionPurchase.tsx | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/src/pages/Subscription.tsx b/src/pages/Subscription.tsx index c5a6761..94f142e 100644 --- a/src/pages/Subscription.tsx +++ b/src/pages/Subscription.tsx @@ -1172,6 +1172,9 @@ export default function Subscription() {