From ff954f72c9746a7146149fdac8341d5ac924847b Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Tue, 13 Aug 2024 14:16:30 +0100 Subject: [PATCH] chore: add unique accessibility id to terms-of-use and privacy-statement checkbox --- src/status_im/contexts/onboarding/intro/view.cljs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/status_im/contexts/onboarding/intro/view.cljs b/src/status_im/contexts/onboarding/intro/view.cljs index 9fe3c263e5..142e84aa77 100644 --- a/src/status_im/contexts/onboarding/intro/view.cljs +++ b/src/status_im/contexts/onboarding/intro/view.cljs @@ -23,10 +23,12 @@ :description-top-text [rn/view {:style style/terms-privacy-container :flex-direction :row} - [quo/selectors - {:type :checkbox - :checked? terms-accepted? - :on-change #(set-terms-accepted? not)}] + [rn/view + {:accessibility-label :terms-privacy-checkbox-container} + [quo/selectors + {:type :checkbox + :checked? terms-accepted? + :on-change #(set-terms-accepted? not)}]] [rn/view {:style {:flex 1}} [quo/text {:style style/text-container