Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(header): define an aria-label on the input search button for accessibility #309

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

m-maillot
Copy link
Contributor

@m-maillot m-maillot commented Sep 16, 2024

Cette PR corrige les warnings provenant de DSFR au sujet de l'accessibilité :

image

En discutant avec l'équipe DSFR, il y a une erreur dans le snippet sur leur site. Et après analyse du code généré par react-dsfr, il manque un aria-labelledby={`${id}-search-bar-button`} pour indiqué le bouton Rechercher. Actuellement, ça pointe sur Fermer.

@m-maillot
Copy link
Contributor Author

Pour info, la discussion est disponible sur le slack DSFR : https://gouvfr.slack.com/archives/C012RFZPTRN/p1726153880454799

@garronej
Copy link
Collaborator

Thanks!

@garronej garronej merged commit cfd4b33 into codegouvfr:main Sep 16, 2024
6 checks passed
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.

2 participants