Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 31k
Accessibility - Exposing ReduceMotion #65874
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Use case
For iOS, the
MediaQuery.of(context).disableAnimationsdoes not detect whether it is Reduce Motion on or off currently.Thus, it would be very beneficial to expose the
AccessibilityFeatures.reduceMotiontoMediaQueryDataso that the users can check the flag, Or, alternatively, we should make thedisableAnimationsflag to reflect thereduceMotionflag for iOS.Proposal
Solution 1:
AccessibilityFeatures.reduceMotiontoMediaQueryDataSolution 2:
MediaQueryData.disableAnimationsflag to reflect on iOS's ReduceMotion flag.