add accessibilityLabel
This commit is contained in:
parent
45cf5778cb
commit
049556c07d
|
@ -1,12 +1,12 @@
|
|||
import React from 'react';
|
||||
import { StyleSheet, Text } from 'react-native';
|
||||
import { ButtonProps, StyleSheet, Text } from 'react-native';
|
||||
import Touchable from 'react-native-platform-touchable';
|
||||
|
||||
import { themes } from '../../lib/constants';
|
||||
import sharedStyles from '../../views/Styles';
|
||||
import ActivityIndicator from '../ActivityIndicator';
|
||||
|
||||
interface IButtonProps {
|
||||
interface IButtonProps extends ButtonProps {
|
||||
title: string;
|
||||
type: string;
|
||||
onPress(): void;
|
||||
|
|
|
@ -64,6 +64,7 @@ const ServerInput = ({
|
|||
theme={theme}
|
||||
onFocus={() => setFocused(true)}
|
||||
onBlur={() => setFocused(false)}
|
||||
accessibilityLabel='enter-workspace-url'
|
||||
/>
|
||||
{focused && serversHistory?.length ? (
|
||||
<View
|
||||
|
|
|
@ -376,6 +376,7 @@ class NewServerView extends React.Component<INewServerViewProps, INewServerViewS
|
|||
style={[styles.connectButton, { marginTop: verticalScale({ size: 16, height }) }]}
|
||||
theme={theme}
|
||||
testID='new-server-view-button'
|
||||
accessibilityLabel='new-server-view-button'
|
||||
/>
|
||||
<OrSeparator theme={theme} />
|
||||
<Text
|
||||
|
|
Loading…
Reference in New Issue