2024-08-20 23:25:37 +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