Adds some accessibilityLabels that can be used for testing.
This commit is contained in:
parent
96a6f2dfd6
commit
2c5a5816c4
|
@ -98,6 +98,7 @@ class WelcomePage extends AbstractWelcomePage {
|
|||
<View style = { styles.roomContainer }>
|
||||
<Text style = { styles.title }>Enter room name</Text>
|
||||
<TextInput
|
||||
accessibilityLabel = { 'Input room name.' }
|
||||
autoCapitalize = 'none'
|
||||
autoComplete = { false }
|
||||
autoCorrect = { false }
|
||||
|
@ -108,6 +109,7 @@ class WelcomePage extends AbstractWelcomePage {
|
|||
underlineColorAndroid = 'transparent'
|
||||
value = { this.state.room } />
|
||||
<TouchableHighlight
|
||||
accessibilityLabel = { 'Tap to Join.' }
|
||||
disabled = { this._isJoinDisabled() }
|
||||
onPress = { this._onJoin }
|
||||
style = { styles.button }
|
||||
|
|
Loading…
Reference in New Issue