From 0c8db08f519fdf5162dff1d9a18b58885c4c7d2f Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Tue, 27 Nov 2018 09:42:32 -0800 Subject: [PATCH] Switch: Improve Accessibility Summary: On Android, `Switch` does not currently read its role as a "button". This fixes that and makes it consistent with iOS. Reviewed By: sahrens Differential Revision: D13136253 fbshipit-source-id: 0de5d54772d204168138cb2af7815cc458f72682 --- Libraries/Components/Switch/Switch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Components/Switch/Switch.js b/Libraries/Components/Switch/Switch.js index 80fe6306d7228c..9bd00aaf1b0e42 100644 --- a/Libraries/Components/Switch/Switch.js +++ b/Libraries/Components/Switch/Switch.js @@ -164,6 +164,7 @@ class Switch extends React.Component {