From 83d1e85263d0962bd308db5ee1e9615a8d3ac292 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 35f12fc8276..1b945b574ca 100644 --- a/Libraries/Components/Switch/Switch.js +++ b/Libraries/Components/Switch/Switch.js @@ -164,6 +164,7 @@ class Switch extends React.Component {