Closed zhouleonlei closed 2 years ago
The code is good, but the "high contrast" option from the TV settings and Flutter's "bold text" accessibility feature do not seem to match by their meaning. In the framework, they are two different concepts:
Have you considered other ways to enable the feature? The most desirable way I can think of right now is to add the missing kFlutterAccessibilityFeatureHighContrast
flag to the embedder API and send a PR to the upstream.
Another question: Will this change work out of the box without having to change any app code (Dart)?
Another question: Will this change work out of the box without having to change any app code (Dart)?
No need to modify codes in App side.
Let's merge this for now.
I heard from @zhouleonlei that turning on the high contrast mode on TV enables both bold text and dark background for native apps. Flutter apps should be affected in the same way, but this PR enables bold text only. Let's see if we can add the highContrast (dark background) option to the embedder API in the future.
Cherry-picked into the flutter-2.10.1-tizen
branch: dba8fffffffcd46b8cb4df6ff0949a7a927f51c0.
Add accessibility high contrast in TV menu settings
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.