Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 640 Bytes

scope.md

File metadata and controls

30 lines (20 loc) · 640 Bytes

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