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

Have form-control-has-label accept accessibleDirectives option #1074

Open
vincerubinetti opened this issue Mar 29, 2024 · 0 comments
Open

Have form-control-has-label accept accessibleDirectives option #1074

vincerubinetti opened this issue Mar 29, 2024 · 0 comments

Comments

@vincerubinetti
Copy link

In anchor-has-content we can allow a Vue directive to take the place of content.

I have a custom v-tooltip directive that automatically adds an aria-label (or other appropriate aria prop) to the element, making it accessible at run time, but this plugin has no way of knowing that. Instead of disabling the rule globally or on specific lines, it'd be nice to have an option for this.

In fact, I wonder if more generally we can tell eslint to treat some prop e.g. v-whatever to act as a different prop e.g. aria-label.

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

1 participant