Skip to content

Conversation

@lsagetlethias
Copy link
Collaborator

@lsagetlethias lsagetlethias commented May 29, 2023

The DSFR's cards footer are div, not paragraph.
Now ButtonsGroup can be added as footer without any semantic html error like "ul should not be inside of p"

@garronej
Copy link
Collaborator

Thank you, you are right.
@revolunet was there a perticular reason to use p instead of div here?
Was the doc using p back then?

I can check it myslef, the official documentation isn't versionned...

@garronej garronej merged commit 57f4a5d into main May 29, 2023
@garronej garronej deleted the fix/card-footer-div branch May 29, 2023 15:41
@lsagetlethias
Copy link
Collaborator Author

lsagetlethias commented May 29, 2023

On December 1st, they were not
image
https://web.archive.org/web/20221201224253/https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/carte/

@garronej
Copy link
Collaborator

GG for diging up WayBackMachine. ^^

sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants