Skip to content

Commit

Permalink
Update no-noninteractive-tabindex.md
Browse files Browse the repository at this point in the history
  • Loading branch information
V2dha committed Jul 7, 2022
1 parent f1b1933 commit 1640f04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/rules/no-noninteractive-tabindex.md
Expand Up @@ -69,8 +69,6 @@ The recommended options for this rule allow `tabIndex` on elements with the noni
},
]
```
Adjust the list of handler prop names in the handlers array to increase or decrease the coverage surface of this rule in your codebase.

The `allowExpressionValues` option determines whether the `role` attribute is allowed to be assigned using an expression. For example, the following would pass in recommended mode if `allowExpressionValues` is set to be `true`:
```jsx
<div role={ROLE_BUTTON} onClick={() => {}} tabIndex="0" />;
Expand Down

0 comments on commit 1640f04

Please sign in to comment.