react-a11y
react-a11y copied to clipboard
Add tests to warn against use of an explicit tabIndex
When you say explicit value to you mean positive integer? I think there are many valid use cases for setting it to 0 or -1 and we shouldn't prevent that.
I agree we could add a warning for when the tabIndex is a positive integer.
Apparently this rule had already been added in v1.0.0 but because the rule documentation page was missing I didn't realize it. I've added it in the merged PR linked.