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

Inline ignore rule support #25

Open
folderol4 opened this issue Aug 28, 2017 · 0 comments
Open

Inline ignore rule support #25

folderol4 opened this issue Aug 28, 2017 · 0 comments

Comments

@folderol4
Copy link

The label for rule is important for accessibility; however, with angular, directives can encapsulate the inputs away from the individual html file and cause this tool to flag it as a warning, The “for” attribute of the “label” element must refer to a non-hidden form control. It would be nice to ignore the rule in this 1 instance instead of my entire project similar to how ESLINT would allow an inline ignore.

Example:
<label for="timeSelector" class="small"> Select time ({{timeZone}}):</label>
<div id="timeSelector" timepicker ng-model="settings.time" hour-step="1" minute-step="1" show-spinners="false" show-meridian="true"></div>

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