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 }> <View style = { styles.roomContainer }>
<Text style = { styles.title }>Enter room name</Text> <Text style = { styles.title }>Enter room name</Text>
<TextInput <TextInput
accessibilityLabel = { 'Input room name.' }
autoCapitalize = 'none' autoCapitalize = 'none'
autoComplete = { false } autoComplete = { false }
autoCorrect = { false } autoCorrect = { false }
@ -108,6 +109,7 @@ class WelcomePage extends AbstractWelcomePage {
underlineColorAndroid = 'transparent' underlineColorAndroid = 'transparent'
value = { this.state.room } /> value = { this.state.room } />
<TouchableHighlight <TouchableHighlight
accessibilityLabel = { 'Tap to Join.' }
disabled = { this._isJoinDisabled() } disabled = { this._isJoinDisabled() }
onPress = { this._onJoin } onPress = { this._onJoin }
style = { styles.button } style = { styles.button }