La demande de mot de passe permet d’aider un utilisateur à créer ou saisir un mot de passe.
<div class="fr-password" id="password-1136">
<label class="fr-label" for="password-1136-input">
Mot de passe
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-1136-input-messages" aria-required="true" name="password" autocomplete="new-password" id="password-1136-input" type="password">
</div>
<div class="fr-messages-group" id="password-1136-input-messages" aria-live="assertive">
<p class="fr-message" id="password-1136-input-message">Votre mot de passe doit contenir :</p>
<p class="fr-message fr-message--info" id="password-1136-input-message-info">12 caractères minimum</p>
<p class="fr-message fr-message--info" id="password-1136-input-message-info-1">1 caractère spécial minimum</p>
<p class="fr-message fr-message--info" id="password-1136-input-message-info-2">1 chiffre minimum</p>
</div>
<div class="fr-password__checkbox fr-checkbox-group fr-checkbox-group--sm">
<input aria-label="Afficher le mot de passe" id="password-1136-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-1136-show">
Afficher
</label>
</div>
</div>
<div class="fr-password" id="password-1139">
<label class="fr-label" for="password-1139-input">
Mot de passe
<span class="fr-hint-text">Texte de description additionnel</span>
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-1139-input-messages" aria-required="true" name="password" autocomplete="new-password" id="password-1139-input" type="password">
</div>
<div class="fr-messages-group" id="password-1139-input-messages" aria-live="assertive">
<p class="fr-message" id="password-1139-input-message">Votre mot de passe doit contenir :</p>
<p class="fr-message fr-message--info" id="password-1139-input-message-info">12 caractères minimum</p>
<p class="fr-message fr-message--info" id="password-1139-input-message-info-1">1 caractère spécial minimum</p>
<p class="fr-message fr-message--info" id="password-1139-input-message-info-2">1 chiffre minimum</p>
</div>
<div class="fr-password__checkbox fr-checkbox-group fr-checkbox-group--sm">
<input aria-label="Afficher le mot de passe" id="password-1139-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-1139-show">
Afficher
</label>
</div>
</div>
<div class="fr-password" id="password-1142">
<label class="fr-label" for="password-1142-input">
Mot de passe
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-1142-input-messages" aria-required="true" name="password" value="x8A@" autocomplete="new-password" id="password-1142-input" type="password">
</div>
<div class="fr-messages-group" id="password-1142-input-messages" aria-live="assertive">
<p class="fr-message" id="password-1142-input-message">Votre mot de passe doit contenir :</p>
<p class="fr-message fr-message--error" id="password-1142-input-message-error">12 caractères minimum</p>
<p class="fr-message fr-message--valid" id="password-1142-input-message-valid">1 caractère spécial minimum</p>
<p class="fr-message fr-message--valid" id="password-1142-input-message-valid-1">1 chiffre minimum</p>
</div>
<div class="fr-password__checkbox fr-checkbox-group fr-checkbox-group--sm">
<input aria-label="Afficher le mot de passe" id="password-1142-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-1142-show">
Afficher
</label>
</div>
</div>
<div class="fr-password" id="password-1145">
<label class="fr-label" for="password-1145-input">
Mot de passe
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-1145-input-messages" aria-required="true" name="password" autocomplete="current-password" id="password-1145-input" type="password">
</div>
<div class="fr-messages-group" id="password-1145-input-messages" aria-live="assertive">
</div>
<div class="fr-password__checkbox fr-checkbox-group fr-checkbox-group--sm">
<input aria-label="Afficher le mot de passe" id="password-1145-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-1145-show">
Afficher
</label>
</div>
<p>
<a href="" class="fr-link">Mot de passe oublié ?</a>
</p>
</div>