Gazebo_simulation-Frontend/node_modules/eslint-plugin-jsx-a11y/docs/rules/scope.md
2020-12-21 10:29:31 -05:00

23 lines
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 />
```