react-native/Libraries/Components
Anton Kuznetsov efd8b10135 Brings accessibilityLabel into PickerAndroid
Summary:
Hi!

I found problem with accessibilityLabel on PickerAndroid.
There's no value in content-desc attribute while accessibilityLabel is correct.
I found that accessibilityLabel is not propagated into native components via
native props.

This PR brings accessibilityLabel for PickerAndroid.

Without this solution my appium tests fails, for example:

My code:
```jsx
<Picker
    style={this.props.style}
    selectedValue={this.props.value}
    onValueChange={this.onChange}
    disabled={this.props.disabled}
    accessibilityLabel="select_wineType">
    // Chilren
</Picker>
```

```sh
✖  Error: element (~select_wineType) still not visible after 5000ms
```
Because xml of this view is (look into content-desc of Spinner):
```xml
<android.widget.Spinner index="0" text="" class="android.widget.Spinner" package="com.hello_github" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="true" long-clickable="false" password=
Closes https://github.com/facebook/react-native/pull/8873

Differential Revision: D3831691

Pulled By: spicyj

fbshipit-source-id: a494f22cb8be8cd6964981fe7ef7d9ff3773bcce
2016-09-07 16:58:30 -07:00
..
ActivityIndicator Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Clipboard Annotate Clipboard module 2016-02-15 10:05:34 -08:00
DatePicker Auto-fix lint errors 2016-08-09 06:43:46 -07:00
DatePickerAndroid Auto-fix lint errors 2016-08-09 06:43:46 -07:00
DrawerAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
Intent Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Keyboard add missing KeyboardAvoidingView documentation 2016-08-30 10:43:33 -07:00
MapView Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Navigation NavigatorIOS docs: need to import PropTypes 2016-08-01 11:58:36 -07:00
Picker Brings accessibilityLabel into PickerAndroid 2016-09-07 16:58:30 -07:00
ProgressBarAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
ProgressViewIOS Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
RefreshControl Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
ScrollView Updated ScrollView's keyboardShouldPersistTaps doc 2016-07-28 12:43:34 -07:00
SegmentedControlIOS Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Slider Auto-fix lint errors 2016-08-09 06:43:46 -07:00
SliderIOS Auto-fix lint errors 2016-08-09 06:43:46 -07:00
StatusBar Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Switch Update Switch.js docs - tintColor changes border 2016-09-05 13:43:37 -07:00
SwitchAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
SwitchIOS Auto-fix lint errors 2016-08-09 06:43:46 -07:00
TabBarIOS Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TextInput Add TextInput controlled selection prop on Android 2016-09-05 07:13:46 -07:00
TimePickerAndroid Fixed typo in docs 2016-04-06 08:55:20 -07:00
ToastAndroid Add support for layout gravity to ToastAndroid 2016-07-20 08:13:37 -07:00
ToolbarAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
Touchable Reverted commit D3735237 2016-08-24 08:43:42 -07:00
UnimplementedViews Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
View Fix bad link typo in View document 2016-07-31 07:28:23 -07:00
ViewPager Auto-fix lint errors 2016-08-09 06:43:46 -07:00
WebView Improve loading error handling on Android WebView 2016-09-02 23:28:35 -07:00
LazyRenderer.js Decrease TTRR (time to relay request) by lazy rendering fake group header 2016-04-17 15:04:19 -07:00
ScrollResponder.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
StaticContainer.js Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
StaticRenderer.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00