Repository: flutter
Issue: UIAccessibility -[NSObject(AXPrivCategory) _accessibilityIterateScrollParentsUsingBlock:includeSelf:] + 240
Labels: waiting for customer response,in triage

### Steps to reproduce

When the user clicks a button in the webview, it crashes.

My project is a flutter project.


I cannot reproduce it.


deviceInfo:
brand: Apple, manufacturer: Apple, model: iPhone 15 Pro, version: 18.1.1,  os: ios


### Expected results

no crash

### Actual results

crash

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
libobjc.A.dylib _objc_retain_x0 + 16 1
UIAccessibility -[NSObject(AXPrivCategory) _accessibilityIterateScrollParentsUsingBlock:includeSelf:] + 240 2
UIAccessibility -[NSObject(AXPrivCategory) _axOutermostScrollParent] + 184 3
UIAccessibility -[NSObject(AXPrivCategory) _axFrameForBoundsCheck:] + 140 4
UIAccessibility -[NSObject(AXPrivCategory) _accessibilityIsFrameOutOfBoundsConsideringScrollParents:] + 232 5
UIKit -[UIApplicationAccessibility _accessibilityResponderElement:] + 3160 6
UIKit -[UIApplicationAccessibility _accessibilityResponderElement] + 44 7
UIKit -[UIApplicationAccessibility _iosAccessibilityAttributeValue:] + 952 8
UIAccessibility __copyAttributeValueCallback + 424 9
AXRuntime ____AXXMIGCopyAttributeValue_block_invoke + 64 10
AXRuntime __handleNonMainThreadCallback + 60 11
AXRuntime __AXXMIGCopyAttributeValue + 368 12
AXRuntime __XCopyAttributeValue + 216 13
AXRuntime _mshMIGPerform + 288 14
CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60 15
CoreFoundation ___CFRunLoopDoSource1 + 524 16
CoreFoundation ___CFRunLoopRun + 2248 17
CoreFoundation _CFRunLoopRunSpecific + 588 18
GraphicsServices _GSEventRunModal + 164 19
UIKitCore -[UIApplication _run] + 816 20
UIKitCore _UIApplicationMain + 340 21
Runner main (main.m:7) 22
dyld 0x00000001af5c7000 + 212680
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
/Users/jd/fvm/versions/3.19.5/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4 23E214 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.19.5 on channel stable at /Users/jd/fvm/versions/3.19.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (10 个月前), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/jd/Documents/sdk/android-sdk-macosx
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] IntelliJ IDEA Community Edition (version 2021.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 212.5744

[✓] VS Code (version 1.96.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • sn的iPhone (mobile) • 00008101-001E518E21FA001E • ios            • iOS 17.6.1 21G93
    • macOS (desktop)    • macos                     • darwin-arm64   • macOS 14.4 23E214 darwin-arm64
    • Chrome (web)       • chrome                    • web-javascript • Google Chrome 131.0.6778.265

[✓] Network resources
    • All expected network resources are available.

```

</details>