input-requires-label should ignore type=hidden fields #866
Labels
enhancement
Functionality that enhances existing features
good first issue
Good for newcomers
released
rule
Relates to HTMLHint's core rules
Describe the bug
I'm using the API to lint some remote pages and saw this error/warning message in my local logfile:
But I don't think the rule should be displaying that warning for
type=hidden
fields since that doesn't entirely make sense.To Reproduce
And my .htmlhintrc file looks like this:
Expected behavior
<input type="hidden">
fields shouldn't display a warning if there isn't an associated<label>
.Screenshots
n/a
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: