Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 823 Bytes

aria-proptypes.md

File metadata and controls

30 lines (21 loc) · 823 Bytes

jsx-a11y/aria-proptypes

💼 This rule is enabled in the following configs: ☑️ recommended, 🔒 strict.

ARIA state and property values must be valid.

Rule details

This rule takes no arguments.

Succeed

<!-- Good: the aria-hidden state is of type true/false -->
<span aria-hidden="true">foo</span>

Fail

<!-- Bad: the aria-hidden state is of type true/false -->
<span aria-hidden="yes">foo</span>

Accessibility guidelines

Resources