You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 anaria-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
.The text was updated successfully, but these errors were encountered: