Remove the accessibility evaluations feature flag by hannah-hyj · Pull Request #192266 · flutter/flutter · GitHub
Skip to content

Remove the accessibility evaluations feature flag - #192266

Open
hannah-hyj wants to merge 1 commit into
flutter:masterfrom
hannah-hyj:remove-accessibility-evaluations-flag
Open

Remove the accessibility evaluations feature flag#192266
hannah-hyj wants to merge 1 commit into
flutter:masterfrom
hannah-hyj:remove-accessibility-evaluations-flag

Conversation

@hannah-hyj

@hannah-hyj hannah-hyj commented Sep 3, 2026

Copy link
Copy Markdown
Member

Removes the isAccessibilityEvaluationsEnabled runtime flag and enable-accessibility-evaluations tool feature, as #32057 is already fixed by #181672, it now supports a11y evaluation not only on debug mode.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Removes the `isAccessibilityEvaluationsEnabled` runtime flag and `enable-accessibility-evaluations` tool feature, as flutter#32057 is already fixed.
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Sep 3, 2026
@github-actions github-actions Bot added a: tests "flutter test", flutter_test, or one of our tests tool Affects the "flutter" command-line tool. See also t: labels. framework flutter/packages/flutter repository. See also f: labels. a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) labels Sep 3, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the experimental 'accessibility_evaluations' feature flag and its associated checks, configurations, and tests across the Flutter framework and tools. The feedback suggests following through with the cleanup by refactoring or removing the duplicated '_isImportantForAccessibility' method in 'SemanticsController', which was previously marked for removal once this feature flag was enabled.

I am having trouble creating individual review comments. Click here to see my feedback.

packages/flutter_test/lib/src/controller.dart (340-341)

medium

The removed comment indicated that _isImportantForAccessibility would be removed once the feature flag is turned on. Since the feature flag is now being removed, we should follow through with this cleanup. If the method is still needed by SemanticsController, consider refactoring it to a shared location (such as a property/helper on SemanticsNode or exporting it from _accessibility_evaluations.dart) to eliminate the duplication and the maintenance hazard mentioned in the remaining TODO.

@hannah-hyj
hannah-hyj requested a review from chunhtai September 3, 2026 23:47

@chunhtai chunhtai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) a: tests "flutter test", flutter_test, or one of our tests CICD Run CI/CD framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants