Skip to content

(fix): accessibility on Select, aria-described-by of <select> should be defined when state is different of default #403

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

MBrandone
Copy link
Contributor

@MBrandone MBrandone commented Apr 9, 2025

Ceci est une Pull Request qui effectue la modification proposée dans cette issue : #402

Elle consiste à supprimer l'attribut aria-describedby de l'élément select quand il possède un state à "default", car aucun message informatif dans le DOM lui est associé.

…be defined when state is different of default
@garronej
Copy link
Collaborator

garronej commented Apr 9, 2025

@MBrandone, thank you for making the effor of submitting a PR!

@garronej garronej merged commit e7289ce into codegouvfr:main Apr 9, 2025
garronej added a commit that referenced this pull request Apr 9, 2025
garronej added a commit that referenced this pull request Apr 9, 2025
@MBrandone
Copy link
Contributor Author

Petite question @garronej, y a t-il quelque chose à faire de mon côté pour que le fix soit déployé dans une nouvelle version du package npm ?

@garronej
Copy link
Collaborator

garronej commented Apr 9, 2025

Non, c'est le cas déjà. NB: J'ai repris l'implémentation mais l'output est équivalent: 51f5a9a

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