Skip to content

Add more details to "Semantics not collected." error #108494

@goderbauer

Description

@goderbauer

When no accessibility feature is turned on, the framework does not generate a semantics tree. Trying to dump the non-existing semantics tree (e.g. by pressing S) just prints "Semantics not collected." [1]. We should expand that error message a little bit and explain why no semantics where collected and what needs to be done to collect it.

[1]

?.toStringDeep(childOrder: DebugSemanticsDumpOrder.inverseHitTest) ?? 'Semantics not collected.';

Metadata

Metadata

Assignees

Labels

a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: googleVarious Google teamsframeworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions