Files
30-seconds-of-code/node_modules/eslint-plugin-jsx-a11y/docs/rules/scope.md
2019-08-20 15:52:05 +02:00

302 B

scope

The scope scope should be used only on <th> elements.

References

  1. axe-core, scope

Rule details

This rule takes no arguments.

Succeed

<th scope="col" />
<th scope={scope} />

Fail

<div scope />