Repository: flutter
Issue: Autofill email not working for proton pass
Labels: framework,engine,platform-web,P2,team-web,triaged-web

### Steps to reproduce

Setup autofill demo with email autofill hinting

### Expected results

Proton Pass can autofill email without having to copy paste from their extension

### Actual results

Email file is marked as `type="text"` which breaks proton pass' input field detection. This exists in versions 3.19 through 3.24.

### Code sample

<details open><summary>Code sample</summary>

```dart
AutofillGroup(
  child: Column(
    children: [
      TextFormField(
        keyboardType: TextInputType.emailAddress,
        autofillHints: [AutofillHints.email],
        autocorrect: false,
      ),
      TextFormField(
        keyboardType: TextInputType.visiblePassword,
        autofillHints: [AutofillHints.password],
        autocorrect: false,
        obscureText: true,
      ),
    ],
  ),
)
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

<img width="363" alt="image" src="https://github.com/user-attachments/assets/a7da73fb-2aa2-4967-89f2-69a5d9ff6e83">
<img width="342" alt="image" src="https://github.com/user-attachments/assets/64cca3ea-5dd8-4664-bbfc-cf0c20af3875">


</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-US)
    • Flutter version 3.22.2 on channel stable at /Users/stoom/fvm/versions/3.22.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (4 months ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/stoom/Library/Android/Sdk
    • Platform android-34, build-tools 33.0.2
    • ANDROID_HOME = /Users/stoom/Library/Android/Sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Application/Microsoft Edge.app)
    ! /Application/Microsoft Edge.app is not executable.

[✓] Android Studio (version 2024.1)
    • 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.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.93.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (2 available)
    • macOS (desktop)                 • macos                 • darwin-arm64 • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin       • macOS 14.5 23F79 darwin-arm64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.
```

</details>