You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although this example uses an onsubmit attribute on the form element for brevity, normal practice is to create a submit event listener when the page is loaded.
SCR18の事例2の注釈:
https://waic.jp/translations/WCAG21/Techniques/client-side-script/SCR18
原文:
https://www.w3.org/WAI/WCAG22/Techniques/client-side-script/SCR18
この "submit event listener" は「フォーム送信用のイベントリスナー」ではなく「submitイベントのリスナー」かと思います。submitという名前のイベントですので、 submit は submit のままにしておきたいです。
こんな感じでしょうか?
この事例では簡潔さのために form 要素の onsubmit 属性を用いているが、通常はページがロードされた際に submit イベントのリスナーを作成する。
The text was updated successfully, but these errors were encountered: