Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor accessibility guidelines to remove single window assumption #119364

Closed
@goderbauer

Description

@goderbauer

The MinimumTextContrastGuideline matcher assumes that all widgets are painted into the same view:

if (isNodeOffScreen(paintBoundsWithOffset, tester.binding.window)) {

In a multi-window world this is not true. Instead, the matcher needs to look up the View of a given element via the View.of(context) API (or alternatively walk the widget tree up until it reaches a view widget).

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions