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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -