the-forest/client/node_modules/eslint-plugin-jsx-a11y/docs/rules/scope.md
2024-09-17 20:35:18 -04:00

640 B

jsx-a11y/scope

💼 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 />

Accessibility guidelines

Resources