orionsoft-react-scripts
Version:
Orionsoft Configuration and scripts for Create React App.
23 lines (15 loc) • 303 B
Markdown
# scope
The `scope` scope should be used only on `<th>` elements.
#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/scope)
## Rule details
This rule takes no arguments.
### Succeed
```jsx
<th scope="col" />
<th scope={scope} />
```
### Fail
```jsx
<div scope />
```