Project

General

Profile

Développement #75681

accessibilité formulaire de création de compte, marquage des erreurs

Added by Frédéric Péters almost 2 years ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
21 March 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

  <div class="..." id="id_email_p">
    <div class="title" id="id_email_title">
      <label class="form-field-required" for="id_email">Courriel&nbsp;:</label>
        <span title="Ce champ est obligatoire." class="required">*</span>
    </div>
    <div class="content" aria-labelledby="id_email_title">
      <div class="error"><p>Saisissez une adresse e-mail valide.</p></div>
      <input type="email" name="email" value="xxx" required="" id="id_email">
      <div class="field-live-hint" style="display: none">...</div>
      <div class="hint">Votre adresse courriel</div>
    </div>
  </div>

On a <div class="error"> avec l'info pas référencée via des aria-xxx, le <div> devrait avoir un id (exemple form_error_email) et l'<input> y faire référence )aria-describedby="form_error_email" + avoir un aria-invalid="true".

Associated revisions

Revision 246b6b3c (diff)
Added by Frédéric Péters almost 2 years ago

ci: introduce tests (#75681)

Revision 75f38ce6 (diff)
Added by Frédéric Péters almost 2 years ago

a11y: add aria attributes for help and errors (#75681)

Revision c222e234 (diff)
Added by Frédéric Péters almost 2 years ago

misc: drop support for django < 3.2 (#75681)

History

#2

Updated by Robot Gitea almost 2 years ago

  • Status changed from Nouveau to En cours
  • Assignee set to Frédéric Péters

Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :

#3

Updated by Frédéric Péters almost 2 years ago

  • Project changed from Authentic 2 to Gadjo
#4

Updated by Robot Gitea almost 2 years ago

  • Status changed from En cours to Solution proposée
#5

Updated by Robot Gitea almost 2 years ago

  • Status changed from Solution proposée to Solution validée

Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :

#6

Updated by Robot Gitea over 1 year ago

  • Status changed from Solution validée to Résolu (à déployer)

Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :

#7

Updated by Transition automatique over 1 year ago

  • Status changed from Résolu (à déployer) to Solution déployée
#8

Updated by Transition automatique over 1 year ago

Automatic expiration

Also available in: Atom PDF