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

fixes incorrect use of label tag #3408

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

Ashish020202
Copy link
Contributor

@Ashish020202 Ashish020202 commented Dec 9, 2023

This PR fixes #3401
There is incorrect use of label tag as the "for" attribute of tag must be equal to the id attribute of the related element to bind them together.

@Ashish020202
Copy link
Contributor Author

@walterbender pls review.

@walterbender
Copy link
Member

This looks correct. But what are the symptoms of the incorrect code?

@Ashish020202
Copy link
Contributor Author

It creates warning in issue section here is attached prblm and it's always good to write a warning free code .

288699035-2a68c12a-8140-4f2a-954d-3bdcda117887

And it might prevent browser to correctly autofilling of form

@walterbender walterbender merged commit 288b413 into sugarlabs:master Dec 10, 2023
3 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.

Incorrect use of label tag
2 participants