Bug 239656 - HTML5 required attribute does not scroll to empty field on validation
Summary: HTML5 required attribute does not scroll to empty field on validation
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-22 08:49 PDT by Stefan
Modified: 2022-04-29 08:50 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2022-04-22 08:49:25 PDT
Open https://www.blumenmaarsen.ch/mobile.php?c=order&id=1332&l=e in mobile Safari

Fill in all fields in the recipients section.

Everything else leave empty.

Scroll down to the submit button.

Click it.

Because the form fields in the First delivery on section, there see Number of executions and periodicity, are mandatory (required="required" HTML5 attribute), Safari should firstly focus the empty field and secondly scroll to there as all the nonwebkit browsers do.

Safari does not scroll to the required field.
Comment 1 Radar WebKit Bug Importer 2022-04-29 08:50:14 PDT
<rdar://problem/92526102>