Skip to content

Support "Bold Text" on Android 12 #86187

@goderbauer

Description

@goderbauer

Internal: b/238459207

Internal issue: b/171575646

Android 12 appears to have a new (?) "Bold Text" accessibility setting under "Settings > Accessibility > Text and display", which is currently not respected in Flutter. When it is turned on, the Android embedder needs to set AccessbilityFeatures.boldText [1] to true to communicate this setting to the framework. The framework already properly supports bold text because it has been an option on iOS for a long time (for context, support for iOS was added to Flutter in flutter/engine#6072).

I believe this setting is new with Android 12, I was not able to find it on Android 11. Confirmed, that this is Android 12+ only.

[1] https://master-api.flutter.dev/flutter/dart-ui/AccessibilityFeatures/boldText.html

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: googleVarious Google teamsengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions