Skip to content

[material_ui] Decouple disabled CheckboxListTile state in a11y_assessments - #13177

Merged
auto-submit[bot] merged 3 commits into
flutter:mainfrom
kevmoo:material-ui-a11y-assessments-use-cases
Oct 27, 2026
Merged

auto-submit[bot] merged 3 commits into
flutter:mainfrom
kevmoo:material-ui-a11y-assessments-use-cases

Conversation

@kevmoo

@kevmoo kevmoo commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Decouples the disabled CheckboxListTile (enabled: false) in a11y_assessments's /check-box-list-tile use case from the enabled tile's mutable _checked state so toggling the first checkbox does not also flip the disabled checkbox to checked (the other 5 use cases originally in this branch landed in #13159 and #13243). Only the a11y_assessments test app changes, so no package version or CHANGELOG update is needed.

Fixes flutter/flutter#194905

Pre-Review Checklist

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

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.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2

… text fields, radio group, and checkbox

- Track selected state on Drawer ListTile items in drawer.dart.
- Add container: true to Semantics(headingLevel: 2) on NavigationDrawer 'Header' in navigation_drawer.dart.
- Add AutofillHints.email and AutofillHints.password to text_field.dart and text_field_password.dart.
- Migrate radio_list_tile.dart to RadioGroup with Semantics group label.
- Decouple disabled CheckboxListTile state in check_box_list_tile.dart.
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Oct 9, 2026
@github-actions github-actions Bot added p: material_ui triage-design Should be looked at in design triage labels Oct 9, 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 improves accessibility semantics and configuration across several use cases in the a11y_assessments test application, including CheckboxListTile, Drawer, NavigationDrawer, RadioListTile, TextField, and TextFieldPassword, along with updating their corresponding tests. Feedback on the changes suggests removing TextInputType.visiblePassword from the password text fields where obscureText is true, as using it is contradictory and the default keyboard type should be used instead to ensure secure input handling.

@kevmoo kevmoo changed the title [material_ui] Improve a11y_assessments use-case semantics for drawer, text fields, radio group, and checkbox [material_ui] Fix a11y_assessments semantics across 6 Batch 1 routes Oct 11, 2026
@Piinks

Piinks commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Same here regarding PR checklist and issue reference.

@kevmoo kevmoo changed the title [material_ui] Fix a11y_assessments semantics across 6 Batch 1 routes [material_ui] Decouple disabled CheckboxListTile state in a11y_assessments Oct 21, 2026
@kevmoo

kevmoo commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Merged main (dropping the 5 routes that landed in #13159 and #13243 so only check_box_list_tile remains), updated the PR description with the standard Pre-Review Checklist, and linked flutter/flutter#194905.

@hannah-hyj
hannah-hyj self-requested a review October 21, 2026 22:06

@hannah-hyj hannah-hyj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@kevmoo kevmoo added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 27, 2026
@auto-submit
auto-submit Bot merged commit d9885d7 into flutter:main Oct 27, 2026
13 checks passed
flutter-zl pushed a commit to flutter-zl/flutter that referenced this pull request Oct 28, 2026
flutter/packages@a8549ae...13d38e0

2026-10-28 [email protected] [material_ui] Unskip long press drag test
on web (flutter/packages#13358)
2026-10-28 [email protected] [google_maps_flutter_ios, pigeon,
webview_flutter_wkwebview] Migrate remaining example apps to uiscene
(flutter/packages#13280)
2026-10-27 [email protected] manually roll flutter and fix flaky
video player test that is preventing roll from landing
(flutter/packages#13465)
2026-10-27 [email protected] [material_ui]
Unskip web tests that pass on CanvasKit and Skwasm: data_table_test,
floating_action_button_test, text_field_cursor_test
(flutter/packages#13460)
2026-10-27 [email protected] [material_ui] Decouple
disabled CheckboxListTile state in a11y_assessments
(flutter/packages#13177)
2026-10-27 [email protected] [camera_web] Skip video input
devices that cannot be started in availableCameras
(flutter/packages#13196)
2026-10-27 [email protected] [camera] Add support for
zero-shutter-lag capture (flutter/packages#12374)
2026-10-27 [email protected] [in_app_purchase_storekit} Fix more test
flakes (flutter/packages#13279)
2026-10-27 [email protected] [material_ui]
Refactor `typography.dart` and `text_theme.dart` in preparation for M3E
(flutter/packages#13371)

If this roll has caused a breakage, revert this CL and set the roller
to dry run mode using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@kevmoo
kevmoo deleted the material-ui-a11y-assessments-use-cases branch October 28, 2026 17:43
suryaKommana2662 pushed a commit to suryaKommana2662/flutter that referenced this pull request Oct 29, 2026
flutter/packages@a8549ae...13d38e0

2026-10-28 [email protected] [material_ui] Unskip long press drag test
on web (flutter/packages#13358)
2026-10-28 [email protected] [google_maps_flutter_ios, pigeon,
webview_flutter_wkwebview] Migrate remaining example apps to uiscene
(flutter/packages#13280)
2026-10-27 [email protected] manually roll flutter and fix flaky
video player test that is preventing roll from landing
(flutter/packages#13465)
2026-10-27 [email protected] [material_ui]
Unskip web tests that pass on CanvasKit and Skwasm: data_table_test,
floating_action_button_test, text_field_cursor_test
(flutter/packages#13460)
2026-10-27 [email protected] [material_ui] Decouple
disabled CheckboxListTile state in a11y_assessments
(flutter/packages#13177)
2026-10-27 [email protected] [camera_web] Skip video input
devices that cannot be started in availableCameras
(flutter/packages#13196)
2026-10-27 [email protected] [camera] Add support for
zero-shutter-lag capture (flutter/packages#12374)
2026-10-27 [email protected] [in_app_purchase_storekit} Fix more test
flakes (flutter/packages#13279)
2026-10-27 [email protected] [material_ui]
Refactor `typography.dart` and `text_theme.dart` in preparation for M3E
(flutter/packages#13371)

If this roll has caused a breakage, revert this CL and set the roller
to dry run mode using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App CICD Run CI/CD p: material_ui triage-design Should be looked at in design triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[a11y_assessments] Disabled CheckboxListTile shares mutable state

3 participants