microsoft / microsoft/react-native-windows

Implement `AccessibilityInfo::isHighTextContrastEnabled()` in `AccessibilityInfoModule`

Open
#14,099 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Accessibility enhancement Integration Follow-up Parity: React Native Workstream: Accessibility
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.