日記です。タイトルでほぼすべてがオチてしまった。 const form = document.querySelector('form#ultra-form'); form.submit(); みたいな感じで、 <form> を JavaScript から submit することができるんだけど、この HTMLFormElement.submit は HTML Living Standard ではこう定義されている: Submits the form, bypassing interactive constraint validation and without firing a submit event. https://html.spec.whatwg.org/multipage/forms.html#htmlformelement つまり、例えば下のような HTML form の場合、
![HTMLFormElement.submit は validation を無視するし submit イベントを発火しない - 平常運転](https://cdn-ak-scissors.b.st-hatena.com/image/square/6a1474b0250d7b6a728a362db7dfef48795cd095/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fa%2Fastj%2F20210716%2F20210716165550.png)