From d33aa3eee26d119b15e95be145881dad1a5f5ffd Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Thu, 23 Mar 2017 15:42:20 -0700 Subject: [PATCH] [change] Touchable no default 'accessibilityRole' --- src/components/Touchable/TouchableHighlight.js | 1 - src/components/Touchable/TouchableOpacity.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/Touchable/TouchableHighlight.js b/src/components/Touchable/TouchableHighlight.js index 79ed5dcc..a98ac8eb 100644 --- a/src/components/Touchable/TouchableHighlight.js +++ b/src/components/Touchable/TouchableHighlight.js @@ -31,7 +31,6 @@ var ensurePositiveDelayProps = require('./ensurePositiveDelayProps'); type Event = Object; var DEFAULT_PROPS = { - accessibilityRole: 'button', activeOpacity: 0.85, underlayColor: 'black' }; diff --git a/src/components/Touchable/TouchableOpacity.js b/src/components/Touchable/TouchableOpacity.js index 17ad3469..48ef07e8 100644 --- a/src/components/Touchable/TouchableOpacity.js +++ b/src/components/Touchable/TouchableOpacity.js @@ -65,7 +65,6 @@ var TouchableOpacity = React.createClass({ getDefaultProps: function() { return { - accessibilityRole: 'button', activeOpacity: 0.2, focusedOpacity: 0.7 };