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-3825">
<label class="fr-label" for="password-3825-input">
Mot de passe
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-3825-input-messages" aria-required="true" name="password" autocomplete="new-password" id="password-3825-input" type="password">
</div>
<div class="fr-messages-group" id="password-3825-input-messages" aria-live="assertive">
<p class="fr-message" id="password-3825-input-message">Votre mot de passe doit contenir :</p>
<p class="fr-message fr-message--info" id="password-3825-input-message-info">12 caractères minimum</p>
<p class="fr-message fr-message--info" id="password-3825-input-message-info-1">1 caractère spécial minimum</p>
<p class="fr-message fr-message--info" id="password-3825-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-3825-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-3825-show">
Afficher
</label>
</div>
</div>
<div class="fr-password" id="password-3828">
<label class="fr-label" for="password-3828-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-3828-input-messages" aria-required="true" name="password" autocomplete="new-password" id="password-3828-input" type="password">
</div>
<div class="fr-messages-group" id="password-3828-input-messages" aria-live="assertive">
<p class="fr-message" id="password-3828-input-message">Votre mot de passe doit contenir :</p>
<p class="fr-message fr-message--info" id="password-3828-input-message-info">12 caractères minimum</p>
<p class="fr-message fr-message--info" id="password-3828-input-message-info-1">1 caractère spécial minimum</p>
<p class="fr-message fr-message--info" id="password-3828-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-3828-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-3828-show">
Afficher
</label>
</div>
</div>
<div class="fr-password" id="password-3831">
<label class="fr-label" for="password-3831-input">
Mot de passe
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-3831-input-messages" aria-required="true" name="password" value="x8A@" autocomplete="new-password" id="password-3831-input" type="password">
</div>
<div class="fr-messages-group" id="password-3831-input-messages" aria-live="assertive">
<p class="fr-message" id="password-3831-input-message">Votre mot de passe doit contenir :</p>
<p class="fr-message fr-message--error" id="password-3831-input-message-error">12 caractères minimum</p>
<p class="fr-message fr-message--valid" id="password-3831-input-message-valid">1 caractère spécial minimum</p>
<p class="fr-message fr-message--valid" id="password-3831-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-3831-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-3831-show">
Afficher
</label>
</div>
</div>
<div class="fr-password" id="password-3834">
<label class="fr-label" for="password-3834-input">
Mot de passe
</label>
<div class="fr-input-wrap">
<input class="fr-password__input fr-input" aria-describedby="password-3834-input-messages" aria-required="true" name="password" autocomplete="current-password" id="password-3834-input" type="password">
</div>
<div class="fr-messages-group" id="password-3834-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-3834-show" type="checkbox">
<label class="fr--password__checkbox fr-label" for="password-3834-show">
Afficher
</label>
</div>
<p>
<a href="" class="fr-link">Mot de passe oublié ?</a>
</p>
</div>