-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Replace semantic announcements in expansion tile for Android #179917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace semantic announcements in expansion tile for Android #179917
Conversation
There was a problem hiding this comment.
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 updates the semantic announcements for ExpansionTile on Android by replacing SemanticsService.sendAnnouncement with a Semantics live region. This change aligns with modern accessibility practices. The accompanying test modifications correctly reflect this new behavior, including adding a new test for the Android-specific implementation. I've included a couple of suggestions to enhance code readability and maintainability by reducing code duplication in both the widget implementation and the new test.
chunhtai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
fixing google3 tests for this one. |
620169c to
9cb48f5
Compare
fixes: #177785
Pre-launch 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-assistbot 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.