-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#34276Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: samehereengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specifically
Description
MediaQuery.highContrast is not implemented on the web. We should implement it.
One way to do that is using a CSS media query, such as html.window.matchMedia('force-colors: active'). Since matchMedia is quite expensive (it parses an executes CSS code it's given), the value should be cached, but also the cache should be invalidated when the value changes.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: samehereengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specifically