webcompat.com icon indicating copy to clipboard operation
webcompat.com copied to clipboard

Error message not displayed after validating input with the keyboard's "Enter" key

Open cipriansv opened this issue 6 years ago • 2 comments

Environment: Browser / Version: Firefox Nightly 72.0a1 (2019-10-24) Operating System: Ubuntu 18.04.3 LTS

Steps to Reproduce:

  1. Navigate to https://staging.webcompat.com/issues/new
  2. Reach the “Please enter the URL” input field.
  3. Type “www” in the field.
  4. Press the keyboard’s “Enter” key.

Expected Behavior: “A valid URL is required.” error message is displayed above the input field.

Actual Behavior: Nothing happens. You are still able to type inside the input field.

Notes:

  1. Screen capture attached.
  2. The issue is also reproducible on Chrome 78.0.3904.70

Watchers: @softvision-sergiulogigan @softvision-oana-arbuzov

sv;

cipriansv avatar Oct 25 '19 11:10 cipriansv

Note: this also reproduces in form v1.

“A valid URL is required.” error message is displayed above the input field.

@cipriansv just to clarify, you would expect Enter to navigate to the next input? (Similar to Tab?) Or just validate the text and not navigate between inputs?

miketaylr avatar Oct 25 '19 16:10 miketaylr

@miketaylr, I expect that by striking the Enter key I would just validate the text and not navigate between inputs.

cipriansv avatar Oct 28 '19 06:10 cipriansv