Skip to content

[web] MediaQuery highContrast is always false #104272

@yjbanov

Description

@yjbanov

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 lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: samehereengineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions