jsx-a11y/scope
October 27, 2022 ยท View on GitHub
๐ผ This rule is enabled in the following configs: โ๏ธ recommended, ๐ strict.
The scope prop should be used only on <th> elements.
Rule details
This rule takes no arguments.
Succeed
<th scope="col" />
<th scope={scope} />
Fail
<div scope />