Open
Description
eslint-plugin-jsx-a11y
's label-has-for
has recently been deprecated and replaced by label-has-associated-control
. This plugin should probably follow suit. I find the default behavior of label-has-for
to be confusing, since using both wrapping and a for
attribute is redundant. (And for styling reasons, it is often not desirable to wrap <input>
s with <label>
s.)