react-native-tab-view icon indicating copy to clipboard operation
react-native-tab-view copied to clipboard

feature: Adding option to override accessibility props

Open felire opened this issue 4 years ago • 0 comments

Motivation

With this pr, now any person using this library will be able to override some of the default props of accessibility. The idea is to solve the problem of the default role that the library has right now. For example in my case, I want to remove the role and the state and using it on a different way because it doesn't behaves as I want.

The idea is not override the accessibilityLabel or accessible props, because there is a way of handling them, so I just move them on a way to prevent this. No one won't be able to override accessibilityLabel or accessible but the user will be able to override any other prop related to accessibility

Test plan

I think that just using the library in a normal way and sending some accessibility props to modify the configuration should be enough.

felire avatar Nov 09 '20 13:11 felire