callstack / callstack/react-native-paper

Handling accessibility feature boldTextEnabled

Open
#4,732 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

**Is your feature request related to a problem? Please describe.**
Problem is there is no general way to set text bold from one place. I would have to check `AccessibilityInfo.isBoldTextEnabled()` in a hook. And then call that hook everywhere I use `` -component.

**Describe the solution you'd like**
A simple way to provide this info directly or automatically in `` and it would handle the rest. Make the text bold if it needs to based on the accessibility-feature's state.

**Describe alternatives you've considered**
Making a hook and custom text-component that I wrap Paper Text-component inside. But that is not gonna scale very well.

**Additional context**
-

Contributor guide

Open the contributing guide

Research direction

Start by tracing how PaperProvider supplies context and how the Paper Text component handles text styles, then review React Native's AccessibilityInfo.isBoldTextEnabled() behavior. The requested result is a provider-level way to apply bold text automatically when the accessibility setting is enabled, without wrapping every Text component in a custom hook. No specific files or tests are named, so identify the relevant provider, Text entry point, and existing accessibility tests first.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
accessibility, frontend, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.