microsoft / microsoft/react-native-windows
Implement `AccessibilityInfo::isHighTextContrastEnabled()` in `AccessibilityInfoModule`
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Problem Description
A new method isHighTextContrastEnabled(std::function<void(bool)> const &onSuccess) method was added from upstream here: https://github.com/facebook/react-native/pull/46746. We will need to implement this method in RNW - currently it is only executing onSuccess(false).
Link to the integration where the error originated
https://github.com/microsoft/react-native-windows/pull/13996
Link to commit
https://github.com/facebook/react-native/pull/46746
Forked files
No response
Upstream PR
No response
Build Configuration
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at AccessibilityInfoModule and review the upstream React Native PR 46746 to understand the expected behavior for isHighTextContrastEnabled(std::function<void(bool)> const &onSuccess). Compare that behavior with the current onSuccess(false) implementation and verify the integration referenced in react-native-windows PR 13996.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- accessibility, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100