Sitelet https://github.com/flutter/packages/pull/12686
Skip to content

[material_ui] Copies a11y_assessments - #12686

Merged
auto-submit[bot] merged 10 commits into
flutter:mainfrom
chunhtai:close_a11y_assessment
Sep 3, 2026
Merged

auto-submit[bot] merged 10 commits into
flutter:mainfrom
chunhtai:close_a11y_assessment

Conversation

@chunhtai

@chunhtai chunhtai commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

as title.

Move the app in material gives us benefit that we can both fix accessibility issue and verify the fix on the app faster without waiting for a release cycle

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

@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 introduces a new Flutter project, a11y_assessments, designed for accessibility testing across multiple platforms including Android, iOS, Linux, macOS, Web, and Windows. It implements a wide range of widget use cases to assess accessibility compliance, along with corresponding tests. Feedback on the changes highlights a potential compilation issue in utils.cpp due to the use of a non-standard macro UNICODE_STRING_MAX_CHARS, and identifies several unused variables in action_chip.dart, card.dart, and navigation_drawer.dart that should be removed.

Comment thread packages/material_ui/test_apps/a11y_assessments/windows/runner/utils.cpp Outdated
Comment thread packages/material_ui/a11y_assessments/lib/use_cases/navigation_drawer.dart Outdated
@chunhtai chunhtai added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Aug 31, 2026
@chunhtai

Copy link
Copy Markdown
Contributor Author

reason for override: this is a sample app that won't be include in the release.

@QuncCccccc QuncCccccc 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. Just have a question, I saw the original app in flutter/flutter also have a GEMINI.md file, is it for agent learning? Just curious whether we also want that in material_ui.

@chunhtai

Copy link
Copy Markdown
Contributor Author

I saw the original app in flutter/flutter also have a GEMINI.md file, is it for agent learning? Just curious whether we also want that in material_ui.

I have no idea how it works, I think that is for gemini code assist, and I am not sure if it still working because the tech change fast. I will defer that to your team, but for now, I removed that file because packages repro doesn't have the same convention.

@elliette

elliette commented Sep 1, 2026

Copy link
Copy Markdown
Member

We should pubignore this directory so it's not released with material_ui (see https://github.com/flutter/packages/blob/main/packages/material_ui/tool/.pubignore for example)

I also wonder if it would make sense to add it in a subdirectory (e.g. material_ui/test_apps/a11y_assessments), especially if we are planning on having other apps in material_ui that aren't part of the examples.

@QuncCccccc what are your thoughts here?

@QuncCccccc

Copy link
Copy Markdown
Contributor

Both suggestions make sense to me!

@chunhtai

chunhtai commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

ok i will put it in test_apps

@chunhtai
chunhtai force-pushed the close_a11y_assessment branch from e6fb86f to 036f7b1 Compare September 1, 2026 20:25

@elliette elliette 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.

Thank you for updating the directory structure! Just one more change otherwise looks good.

Comment thread packages/material_ui/.pubignore Outdated

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.

Could we keep these as separate pubignores in tool and test_apps? See discussion here: #12469 (comment)

Basically if we have a pubignore here, we will have to keep it in-sync with the gitignore which sounds error prone to me ☹️

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ah ok, the reason i moved it here is that the plugin tool only read the root pubignore, but looks like we shouldn't do that. will refer and see what to do

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I updated the ci to be able to pick up pubingore in this case


/// True if this package is located within a directory that is ignored
/// by the enclosing package's `.pubignore` file.
/// by the enclosing package's `.pubignore` file, or by a `.pubignore` file in

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

cc @stuartmorgan-g , in case there is a good reason not to.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I need this because I add a test app a11y_assessments to the material_ui, but the ci will read the pubignore only if it is in the root material_ui directory.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I can't think of any reason not to support this, we just didn't need it before.

@chunhtai
chunhtai force-pushed the close_a11y_assessment branch from 26c3f23 to 0df3700 Compare September 2, 2026 22:28

@elliette elliette 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! Thanks for fixing the isPubIgnored logic!

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 3, 2026
@auto-submit
auto-submit Bot merged commit 9af9c60 into flutter:main Sep 3, 2026
13 checks passed
pull Bot pushed a commit to fucheng-guo-sun/flutter that referenced this pull request Sep 4, 2026
…r#192292)

flutter/packages@f9b3954...9af9c60

2026-09-03 47866232+chunhtai@users.noreply.github.com [material_ui]
Copies a11y_assessments (flutter/packages#12686)
2026-09-03 21270878+elliette@users.noreply.github.com [material_ui]
Migrate M3 BottomSheet template to use new gen_defaults
(flutter/packages#12731)
2026-09-03 21270878+elliette@users.noreply.github.com [material_ui]
Migrate M3 ActionChip template to use new gen_defaults
(flutter/packages#12732)
2026-09-03 bolling.ludwig@gmail.com [camera] Add setImageQuality for
JPEG compression control (flutter/packages#11155)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com 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
victorsanni pushed a commit to victorsanni/packages that referenced this pull request Sep 9, 2026
as title.

Move the app in material gives us benefit that we can both fix accessibility issue and verify the fix on the app faster without waiting for a release cycle

## Pre-Review Checklist

**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). 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.

[^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.
victorsanni pushed a commit to victorsanni/packages that referenced this pull request Sep 9, 2026
as title.

Move the app in material gives us benefit that we can both fix accessibility issue and verify the fix on the app faster without waiting for a release cycle

## Pre-Review Checklist

**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). 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.

[^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.
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 override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: material_ui platform-android platform-ios platform-linux platform-macos platform-web platform-windows triage-design Should be looked at in design triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants