-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
Flutter includes several accessibility-specific enums that must remain in sync. For example, accessibility features are recorded in:
FlutterAccessibilityFeatureenum inshell/platform/embedder/embedder.hAccessibilityFeatureFlagenum inlib/ui/window/platform_configuration.hAccessibilityFeaturesclass inlib/ui/window.dartAccessibilityFeaturesclass inlib/web_ui/lib/window.dart
Similarly, FlutterSemanticsAction, FlutterSemanticsFlag, and other enums need to be kept in sync.
Currently, a comment at each location reminds developers to keep these enums in sync, but what's needed is a test that automatically enforces this in presubmit.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Type
Projects
Status
Done