Pārlūkot izejas kodu

Adds some accessibilityLabels that can be used for testing.

master
damencho 8 gadus atpakaļ
vecāks
revīzija
2c5a5816c4

+ 2
- 0
react/features/welcome/components/WelcomePage.native.js Parādīt failu

@@ -98,6 +98,7 @@ class WelcomePage extends AbstractWelcomePage {
98 98
                 <View style = { styles.roomContainer }>
99 99
                     <Text style = { styles.title }>Enter room name</Text>
100 100
                     <TextInput
101
+                        accessibilityLabel = { 'Input room name.' }
101 102
                         autoCapitalize = 'none'
102 103
                         autoComplete = { false }
103 104
                         autoCorrect = { false }
@@ -108,6 +109,7 @@ class WelcomePage extends AbstractWelcomePage {
108 109
                         underlineColorAndroid = 'transparent'
109 110
                         value = { this.state.room } />
110 111
                     <TouchableHighlight
112
+                        accessibilityLabel = { 'Tap to Join.' }
111 113
                         disabled = { this._isJoinDisabled() }
112 114
                         onPress = { this._onJoin }
113 115
                         style = { styles.button }

Notiek ielāde…
Atcelt
Saglabāt