Skip to content

Commit d29cf39

Browse files
authored
Update role-supports-aria-props.md: fix code sample
fixes jsx-eslint#938
1 parent f0d2ddb commit d29cf39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/role-supports-aria-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This rule takes no arguments.
1313
### Succeed
1414
```jsx
1515
<!-- Good: the radiogroup role does support the aria-required property -->
16-
<ul role="radiogroup" aria-required aria-labelledby="foo">
16+
<ul role="radiogroup" aria-required="true" aria-labelledby="foo">
1717
<li tabIndex="-1" role="radio" aria-checked="false">Rainbow Trout</li>
1818
<li tabIndex="-1" role="radio" aria-checked="false">Brook Trout</li>
1919
<li tabIndex="0" role="radio" aria-checked="true">Lake Trout</li>

0 commit comments

Comments
 (0)