Skip to content

Provide a testing API for the announce functionality #108495

Closed
@nbayati

Description

@nbayati

We don't have a testing API for the accessibility announcement function. Applications have to write tests reading the announcement logs and checking it against the expected message using hard-coded values. This is not scalable as we will break the existing tests if we add a new parameter (like PR #107568) or make any changes to the structure of the message dataMap.

We need to provide a testing API that allows the user to check the message and optionally the other parameters like textDirection and assertiveness.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: 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