Bug 239656
| Summary: | HTML5 required attribute does not scroll to empty field on validation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Stefan <stemind> |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | akeerthi, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 15 | ||
Stefan
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/92526102>