Adds some accessibilityLabels that can be used for testing.

This commit is contained in:
damencho 2016-12-22 17:28:57 -06:00
parent 96a6f2dfd6
commit 2c5a5816c4
1 changed files with 2 additions and 0 deletions

View File

@ -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 }