Skip to content

Commit

Permalink
tabIndex is written tabindex
Browse files Browse the repository at this point in the history
see
https://developer.mozilla.org/en-
US/docs/Web/HTML/Global_attributes/tabindex

linting will also fail if it's `tabIndex` with a capital i
  • Loading branch information
andreasnuesslein authored Jul 28, 2023
1 parent f0d2ddb commit 23f4185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-static-element-interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Indicate the element's role with the `role` attribute:
onClick={onClickHandler}
onKeyPress={onKeyPressHandler}
role="button"
tabIndex="0">
tabindex="0">
Save
</div>
```
Expand Down

0 comments on commit 23f4185

Please sign in to comment.