Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JSX-A11Y label-has-for Configuration (#7)
* Adjust jsx-a11y linter label-has-for rule. Allow inputs to have sibling labels with an id associated by htmlFor rather than force labels to wrap around the input. * Add spec for label-has-for exception. Demonstrate example of using htmlFor with id for label and inputs for the label-has-for exception introduced in this commit: eb6e63b.
- Loading branch information
1 parent
1b8e5ec
commit 5cfc0fa
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters