mdn / mdn/browser-compat-data

html.elements.input.input-email - No native error message when writing non-email text

Open
#14,908 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:firefox_android data:html
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What information was incorrect, unhelpful, or incomplete?

When using Firefox browser on an android mobile device, we noticed that when a user writes text that isn't an email in an email input field on a website, there is no native error message on submit, unless the text explicitly has an @ sign. For example, writing test won't give an error, but writing test@test will give an error. We've tested this on iOS browsers and Android browsers, and seems only Firefox's Android browser seems to have this issue. It works perfectly as expected on Firefox iOS.

What did you expect to see?

When writing text that isn't an email in the email input text field, what was expected was to get a native error message on submit. An example:
Screen Shot 2022-02-09 at 6 09 29 PM

Did you test this? If so, how?

Tested it in both browser stack and a colleague's Android device, both using Firefox Browser.

MDN page report details

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the browser-compat-data entry queried as html.elements.input.input-email and review the corresponding MDN input/email page. Reproduce the validation behavior in Firefox for Android and compare it with the existing compatibility data; done means the data accurately records the confirmed browser behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.