Skip to content

Conversation

@m-maillot
Copy link
Contributor

@m-maillot m-maillot commented Dec 6, 2024

Il ne restera que les h3 sur les titres du footer : codegouvfr/react-dsfr#349

@m-maillot m-maillot marked this pull request as ready for review December 10, 2024 07:59
nonce={nonce}
defaultColorScheme={pathname.includes("/widgets") ? "light" : "system"}
>
<DefaultLayout nonce={nonce} defaultColorScheme={"light"}>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On repasse en mode light le temps de pouvoir modifier le h1 de la modale pour le SEO

@@ -0,0 +1,140 @@
"use client";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Création d'une nouvelle page pour Besoin plus d'informations au lieu de l'afficher dans une popup.

},
text: "Plan du site",
},
headerFooterDisplayItem,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On supprime le lien vers la modal pour le dark/light mode

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ouais dommage :/

Faire une suggestion pour améliorer cette page
</label>
<textarea
aria-describedby="input-:r4:-desc-error"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normal, c'était un bug et la monté en version de react-dsfr l'a corrigé.

/>
)}
onSearchButtonClick={onSearchSubmit}
disableDisplay={true}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On désactive la modal pour choisir entre dark et light mode.

Comment on lines +29 to +33
<div
role="heading"
aria-level={2}
className={`${fr.cx("fr-h2")} ${title}`}
>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On bascule le h2 en div avec le role heading.

Comment on lines 52 to 57
<Image
src="/static/assets/img/srdt.svg"
alt="Contactez les services de renseignements au droit du travail au 0800 026 080"
width={350}
height={100}
/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d'un point de vue accessibilité, on nous avez dit de faire en sorte de créer nous même cette affichage il me semble.

après tu me diras avec le alt, ça devrait suffir

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le alt suffit mais il y a un point en effet sur cette page en terme d'accessibilité. Il n'y a pas le focus quand on passe dessus avec le Tab. On le retravaillera après le pré audit :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il y a aussi la couleur qui est trop terne. Il y a un ticket sur le sujet, on le traitera à ce moment.

},
text: "Plan du site",
},
headerFooterDisplayItem,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ouais dommage :/

@github-actions
Copy link

@m-maillot m-maillot merged commit 26580e0 into dev Dec 11, 2024
23 checks passed
@m-maillot m-maillot deleted the fix/headings branch December 11, 2024 14:41
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.

5 participants