Pattern warning text assumes title attribute value

Issue #7879922 • Assigned to Bogdan B.

Details

Author
Jonathan S.
Created
Jun 13, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Create a form:

<form>
<input pattern="[0-9]{3}" value="a">
<input type="Submit">
</form>

Open, and press the Submit button.

Note that the warning message (“You must use this format:”) doesn’t actually reference a suggested format. [If the control had a title attribute, the corresponding value would appear in the suggestion.]

Chrome and Firefox both use a generic message: “Please match the requested format.”

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To to “Bogdan B.”

You need to sign in to your Microsoft account to add a comment.

Sign in