flutter/dev
Greg Spencer d68e05bf36
Reland: Request focus if accessibility focus is given to a Focus widget (#142942) (#149840)
## Description

This attempts to re-land #142942 after being reverted in https://github.com/flutter/flutter/pull/149741 because it broke the iOS [platform view UI integration test](https://github.com/flutter/flutter/blob/master/dev/integration_tests/ios_platform_view_tests/ios/PlatformViewUITests/PlatformViewUITests.m?rgh-link-date=2024-06-06T19%3A47%3A27Z).

The changes here from the original are that in the Focus widget we no longer set the `onFocus` for the `Semantics` if the platform is iOS.  It was not intended to do anything on iOS anyhow.

Also, I updated the matchers to not actually do anything yet with the SemanticsAction.focus matching, so that this can be landed without breaking customer tests, and once they have been updated to correctly look for the focus action, we can land a PR that will turn it on.

## Related Issues
 - https://github.com/flutter/flutter/issues/149838
 - https://github.com/flutter/flutter/issues/83809
 - https://github.com/flutter/flutter/issues/149842

## Tests
 - Updated framework tests to look for the appropriate things using the matchers, even though it doesn't actually test for them yet.
2024-06-12 20:05:10 +00:00
..
a11y_assessments Add high-contrast theme (#149779) 2024-06-11 00:31:08 +00:00
automated_tests Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
benchmarks Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
bots Reland "Add tests for scaffold drawer and end drawer" (#150045) (#150047) 2024-06-12 14:55:17 +00:00
conductor Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
customer_testing Roll pub packages (#149852) 2024-06-06 22:35:15 +00:00
devicelab Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
docs Remove master from API docs (#144425) 2024-03-01 01:06:56 +00:00
forbidden_from_release_tests Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
integration_tests Reland: Request focus if accessibility focus is given to a Focus widget (#142942) (#149840) 2024-06-12 20:05:10 +00:00
manual_tests Roll pub packages (#149617) 2024-06-03 22:15:41 +00:00
missing_dependency_tests Enable private field promotion for dev (#134480) 2023-09-12 18:29:00 +00:00
snippets Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
tools Roll pub packages (#150070) 2024-06-12 05:40:31 +00:00
tracing_tests Roll pub packages (#149617) 2024-06-03 22:15:41 +00:00
analysis_options.yaml Enable more lints (#91642) 2021-10-14 22:03:03 -07:00
README.md Migrate to .ci.yaml (#82960) 2021-05-19 20:09:46 -07:00

This directory contains tools and resources that the Flutter team uses during the development of the framework. The tools in this directory should not be necessary for developing Flutter applications, though of course, they may be interesting if you are curious.

The tests in this directory are run in the framework_tests_misc-* shards.