android - Is there any way to "hide" a View to Screen Readers, like "aria-hidden" does in HTML? -


i need screen readers voiceover don't recognize (or don't "read") <view>.

for example, let suppose have simple app template code: <view><text>events</text></view>.

when run app, can see "events" on screen. if enable voiceover, says : "events". well, want cannot "events". in other words, want cannot read events. "aria-hidden" in html.

is possible?

to show/hide view in react-native conditionally, use separate render function check condition:

render: function(){     return (         {this.renderoncondition()}     ); }, renderoncondition: function(){     if(whatevercondition){         return (<view />);     } } 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -