-
Notifications
You must be signed in to change notification settings - Fork 21
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
label-has-for fails for bound id/label #15
Comments
same for |
lastest version ? I fail to reappear this bug @sem4phor |
yes on the latest version. Did you test it with input nested in label and a bound for? |
I got it work. The problem that looks like that rule was taken from "vue-a11y/label-has-for": [ 2, {
"components": [ "label" ],
"required": {
"every": [ "nesting", "id" ]
},
"allowChildren": false
}] I changed |
I changed the rule made by venikman to support nesting OR id:
|
It's worth noting that |
When using a dynamic for / id attribute on label / input elements the rule
label-has-for
fails.Expected behaviour:
The rule passes.
The text was updated successfully, but these errors were encountered: