-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: address some deprecations warnings take 1/n #1804
Conversation
…contentFit" instead
…prevent react error
I'm planning to remove |
Enter the address of your provider: | ||
</Text> | ||
<TextInput | ||
accessibilityLabel="Text input field" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is added automatically by lint-staged
What's your plan for this?
Do these have semantic differences (e.g. different tap handling logic)? If yes we'd need to make sure we don't regress any tapping behaviors. We already have some weirdness with gestures. So this needs to be tested with real devices. |
The only way for now is to patch
This is quite difficult to answer. Both have different implementations trying to archive the same thing, but As you said, this need to be tested in physical devices. I'll provide more info once is implemented 🤞 |
What's the situation with RN's use of |
They changed the name match web standard.
Here is the text: Reduce API fragmentation across platforms |
🚁 I'm going to close this PR for now. I'm going to split it into small ones. |
accessibilityRole
withrole
accessibilityLabel
witharia-label
returnKeyType
withenterKeyHint
textAlignVertical
withverticalAlign
resizeMode
withcontentFit
id
instead oftestID
forUserBanner
search
withsearchbox
forrole
propid
instead ofnativeId
pointerEvents
prop to pointerEvents styleaccessibilityLabelledBy
witharia-labelledby
See react-native-web v0.19 deprecations for more information.
NOTE: : react-native-a11y is not aware of these accessibility props changes, if you try to run
yarn lint --fix
is going to add theaccessibility*
props even though we usearia-*
androle
props.