Problem/Motivation
đ Remplace la balise dialog par une balise div, le rĂŽle dialog est ajoutĂ© automatiquement Ă l'ouverture de la modale #1478
Upstream keeps <dialog> for regular modals but the transcription's embedded modal is now <div class="fr-modal"> (role set by JS on open). Our transcription.twig composes ui_suite_dsfr:modal, which hardcodes <dialog> with role/aria-modal.
Proposed resolution
We could add a tag prop to the modal component (dialog by default) that also drops role/aria-modal when set to div, and use it from transcription.
The modal title part (#1465) is already fine, transcription already passes a title to the modal.
Issue fork ui_suite_dsfr-3615328
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
just_like_good_vibesComment #5
just_like_good_vibes