Skip to content

label-has-associated-control does not work with solidjs when using the for attribute #922

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

Closed
alightgoesout opened this issue Feb 3, 2023 · 2 comments

Comments

@alightgoesout
Copy link

Contrary to React, solidjs uses the standard html attributes (e.g., class not className), and so the label attribute used to specify the control is for, not htmlFor. As is, I cannot use the rule.

Maybe we could specify the name of the attribute in an option?

@ljharb
Copy link
Member

ljharb commented Feb 3, 2023

I think this is a duplicate of #894?

@alightgoesout
Copy link
Author

Indeed, I had not seen it.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2023
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

No branches or pull requests

2 participants