Skip to content

a11y: send less TYPE_WINDOW_CONTENT_CHANGED events #14534

@goderbauer

Description

@goderbauer

TYPE_WINDOW_CONTENT_CHANGED should only be called for the root node of a subtree that has changed (NOT for every changed node in the subtree). Doing the latter causes a11y to become sluggish and unresponsive as Android processes the flood of events.

We are currently firing the event for every single changed node, which on big updates (e.g. scrolling through a list with lots of nodes) causes unresponsiveness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions