13 ms·
You are correct, and the original article is incorrect in this point (a pity, since the rest seems sound). Spec reference: https://html.spec.whatwg.org/multipa
by chrismorgan 3y ago
You are correct, and the original article is incorrect in this point (a pity, since the rest seems sound).
Spec reference: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#implicit-submission https://html.spec.whatwg.org/multipage/form-control-infrastr...
(It’s not written in the most obvious way as regards this detail, but it’s clearly there: if there is a default button, click on it, if you can—implied is: if you can’t, just do nothing; and if there isn’t a default button, try to just submit the form.)