about summary refs log tree commit diff
path: root/src/view/com/auth
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/auth')
-rw-r--r--src/view/com/auth/create/CreateAccount.tsx8
-rw-r--r--src/view/com/auth/login/Login.tsx24
2 files changed, 6 insertions, 26 deletions
diff --git a/src/view/com/auth/create/CreateAccount.tsx b/src/view/com/auth/create/CreateAccount.tsx
index ac03081df..26bf03386 100644
--- a/src/view/com/auth/create/CreateAccount.tsx
+++ b/src/view/com/auth/create/CreateAccount.tsx
@@ -75,9 +75,7 @@ export const CreateAccount = observer(
             <TouchableOpacity
               onPress={onPressBackInner}
               testID="backBtn"
-              accessibilityRole="button"
-              accessibilityLabel="Go back"
-              accessibilityHint="Navigates to the previous screen">
+              accessibilityRole="button">
               <Text type="xl" style={pal.link}>
                 Back
               </Text>
@@ -87,9 +85,7 @@ export const CreateAccount = observer(
               <TouchableOpacity
                 testID="nextBtn"
                 onPress={onPressNext}
-                accessibilityRole="button"
-                accessibilityLabel="Go to next"
-                accessibilityHint="Navigates to the next screen">
+                accessibilityRole="button">
                 {model.isProcessing ? (
                   <ActivityIndicator />
                 ) : (
diff --git a/src/view/com/auth/login/Login.tsx b/src/view/com/auth/login/Login.tsx
index cec08192c..87512287b 100644
--- a/src/view/com/auth/login/Login.tsx
+++ b/src/view/com/auth/login/Login.tsx
@@ -241,11 +241,7 @@ const ChooseAccountForm = ({
         </View>
       </TouchableOpacity>
       <View style={[s.flexRow, s.alignCenter, s.pl20, s.pr20]}>
-        <TouchableOpacity
-          onPress={onPressBack}
-          accessibilityRole="button"
-          accessibilityLabel="Go back"
-          accessibilityHint="Navigates to the previous screen">
+        <TouchableOpacity onPress={onPressBack} accessibilityRole="button">
           <Text type="xl" style={[pal.link, s.pl5]}>
             Back
           </Text>
@@ -454,11 +450,7 @@ const LoginForm = ({
         </View>
       ) : undefined}
       <View style={[s.flexRow, s.alignCenter, s.pl20, s.pr20]}>
-        <TouchableOpacity
-          onPress={onPressBack}
-          accessibilityRole="button"
-          accessibilityLabel="Go back"
-          accessibilityHint="Navigates to the previous screen">
+        <TouchableOpacity onPress={onPressBack} accessibilityRole="button">
           <Text type="xl" style={[pal.link, s.pl5]}>
             Back
           </Text>
@@ -632,11 +624,7 @@ const ForgotPasswordForm = ({
           </View>
         ) : undefined}
         <View style={[s.flexRow, s.alignCenter, s.pl20, s.pr20]}>
-          <TouchableOpacity
-            onPress={onPressBack}
-            accessibilityRole="button"
-            accessibilityLabel="Go back"
-            accessibilityHint="Navigates to the previous screen">
+          <TouchableOpacity onPress={onPressBack} accessibilityRole="button">
             <Text type="xl" style={[pal.link, s.pl5]}>
               Back
             </Text>
@@ -794,11 +782,7 @@ const SetNewPasswordForm = ({
           </View>
         ) : undefined}
         <View style={[s.flexRow, s.alignCenter, s.pl20, s.pr20]}>
-          <TouchableOpacity
-            onPress={onPressBack}
-            accessibilityRole="button"
-            accessibilityLabel="Go back"
-            accessibilityHint="Navigates to the previous screen">
+          <TouchableOpacity onPress={onPressBack} accessibilityRole="button">
             <Text type="xl" style={[pal.link, s.pl5]}>
               Back
             </Text>