Repository navigation
Fix: generate form accessiblity - #612
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nibles et titre de page dynamique Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ux fieldsets Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dsets avec légende Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… champs texte Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chaque groupe oui/non de « Avez-vous réussi à joindre l'administration ? » est un fieldset dont la légende reprend la question (fr-sr-only) et le moyen de contact, au lieu d'un label orphelin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rmulaire Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ernative textuelle Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Les étapes ne sont pas des liens : on reprend le balisage du SideMenu DSFR avec un bouton par élément de liste, dans une navigation nommée. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seul l'input reste désactivé ; le badge « option masquée » est conservé. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Menu des étapes et contenu en colonne pleine largeur sur mobile, boutons d'en-tête sous les titres pour que leurs icônes restent dans le bouton. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion et consigne Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aria-invalid, aria-describedby vers les messages d'info et d'erreur, et focus sur le message d'erreur à la soumission. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ibilité Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bouton « Étapes du formulaire » / « Cacher les étapes » piloté en React, style de la maquette une fois déplié, sans soulignement, pleine largeur. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sous le libellé sur mobile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r mobile En-têtes, actions des blocs, navigation entre étapes et boutons de l'éditeur passent en colonne ; contenu de l'étape en pleine largeur avec 16px d'espacement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… à la ligne si besoin Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…latéral Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixed ids (question-commentaire, consigne-email...) collided when a form had several comment or email blocks. Use question-{block.id} and consigne-{block.id} for every block.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every paragraph editor was labelled "Texte d'introduction". Point aria-labelledby at the block heading instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use the option's alt_text from the database and fall back to the style mapping. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The form title is an h4, so the alert heading becomes an h5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A label only accepts phrasing content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tyles Move the disabled-label contrast rule and the mobile hidden badge style to sharedStyles instead of copying them in Checkboxes, Radios and the new form page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on blur Pass react-hook-form's ref to the input so it focuses the invalid field on submit, instead of moving focus to the error text. Replace the page-level watch with a title committed on blur, to avoid re-rendering the page on every keystroke. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The row label was not linked to any control; the fieldset legend already names the radios. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use && to override the DSFR gutter padding on the column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the negative margins from FormStepDisplay and FormStepper and cancel the page gutter once on the configurator column, with no padding on mobile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dan1M
reviewed
Nov 18, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix accessibility of edit and new forms, fix some heading hierarchy and mobile responsiveness
Ticket(s) notion associé(s)
Liste de vérification