Skip to content

Commit

Permalink
Merge pull request #806 from DTS-STN/ken/a11y-4944-noValidate
Browse files Browse the repository at this point in the history
Turn off default browser validate since we already do all validations…
  • Loading branch information
ken-blanchard authored Dec 10, 2024
2 parents c47c854 + f82c973 commit 726fee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const Email = () => {
<h1 id="main-header" className="h1" tabIndex={-1}>
{t('header')}
</h1>
<form onSubmit={handleFormikSubmit} id="form-email-esrf">
<form onSubmit={handleFormikSubmit} id="form-email-esrf" noValidate>
<p className="max-w-prose">
<Trans i18nKey="header-messages.matches" ns="email" />
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const Status = () => {
<h1 id="main-header" className="h1" tabIndex={-1}>
{t('header')}
</h1>
<form onSubmit={handleFormikSubmit} id="form-get-status">
<form onSubmit={handleFormikSubmit} id="form-get-status" noValidate>
<p className="max-w-prose">
<Trans i18nKey="header-messages.matches" ns="status" />
</p>
Expand Down

0 comments on commit 726fee4

Please sign in to comment.