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 }>
|
<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 }
|
||||||
|
|
Loading…
Reference in New Issue