Skip to content
Snippets Groups Projects
Commit 94370da1 authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

Merge branch 'fix/a11y/input-types' into 'dev'

fix(a11y): Added autoComplete types to TextFields

See merge request !1220
parents 322310bc 93733007
No related branches found
No related tags found
2 merge requests!12413.1 Release,!1220fix(a11y): Added autoComplete types to TextFields
......@@ -34,6 +34,7 @@ const StepIdentityAndPdl = ({
value={sgeState.firstName}
onChange={e => onChange('firstName', e.target.value)}
required
autoComplete="given-name"
/>
<TextField
label={t('auth.enedissgegrandlyon.lastName')}
......@@ -43,6 +44,7 @@ const StepIdentityAndPdl = ({
value={sgeState.lastName}
onChange={e => onChange('lastName', e.target.value)}
required
autoComplete="family-name"
/>
<h2 className="text-22-bold">{t('auth.enedissgegrandlyon.pdlTitle')}</h2>
<TextField
......
......@@ -116,6 +116,7 @@ exports[`SgeConnectView component should be rendered correctly 1`] = `
>
<input
aria-invalid="false"
autocomplete="given-name"
class="MuiInputBase-input MuiOutlinedInput-input"
id="firstName"
required=""
......@@ -160,6 +161,7 @@ exports[`SgeConnectView component should be rendered correctly 1`] = `
>
<input
aria-invalid="false"
autocomplete="family-name"
class="MuiInputBase-input MuiOutlinedInput-input"
id="lastName"
required=""
......
......@@ -33,6 +33,7 @@ exports[`StepIdentityAndPdl component should be rendered correctly 1`] = `
>
<input
aria-invalid="false"
autocomplete="given-name"
class="MuiInputBase-input MuiOutlinedInput-input"
id="firstName"
required=""
......@@ -77,6 +78,7 @@ exports[`StepIdentityAndPdl component should be rendered correctly 1`] = `
>
<input
aria-invalid="false"
autocomplete="family-name"
class="MuiInputBase-input MuiOutlinedInput-input"
id="lastName"
required=""
......
  • build-token @group_1518_bot_2801ee8bae68451533dcea1179b03710

    mentioned in commit 5085aef8

    ·

    mentioned in commit 5085aef8

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment