Skip to content

fix(SelectNext): No generation of aria-describedby referencing a non-existant id in the case of a default state (#402) #404

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 15, 2025

Conversation

celinegilet
Copy link

Voici une proposition de Pull Request pour venir corriger l'issue : #402.

Le travail a été réalisé par MBrandone pour le Select dans la PR suivante : #403 mais le problème est toujours présent sur le SelectNext.

La correction consiste donc à ne pas avoir l'attribut aria-describedby sur l'élément select quand il possède un state à "default" car aucun élément avec cet ID dans le DOM ne lui est associé.

@garronej
Copy link
Collaborator

Looks good!
Thank you for the contribution @celinegilet.

@garronej garronej merged commit b97bc23 into codegouvfr:main Apr 15, 2025
1 check passed
@celinegilet
Copy link
Author

You're welcome @garronej !
Is there anything specific, from my side, to do to bump version as 1.22.5?

@garronej
Copy link
Collaborator

I did :)

@celinegilet
Copy link
Author

Excellent, thanks @garronej :)

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