in src/rules/onclick-uses-tabindex.js [17:25]
test(tagName, props) {
warnRuleDeprecated('onclick-uses-tabindex', 'interactive-supports-focus');
const hidden = hiddenFromAT(props);
const interactive = isInteractive(tagName, props);
const onClick = listensTo(props, 'onClick');
const tabIndex = props.tabIndex !== undefined;
return hidden || interactive || !onClick || tabIndex;
}