Skip to content

Commit

Permalink
[Docs] no-static-element-interactions: 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 and ljharb committed Jul 28, 2023
1 parent 4da13e7 commit 1271153
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 1271153

Please sign in to comment.