Skip to content

Commit 1271153

Browse files
andreasnuessleinljharb
authored andcommitted
[Docs] no-static-element-interactions: tabIndex is written tabindex
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
1 parent 4da13e7 commit 1271153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-static-element-interactions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Indicate the element's role with the `role` attribute:
2121
onClick={onClickHandler}
2222
onKeyPress={onKeyPressHandler}
2323
role="button"
24-
tabIndex="0">
24+
tabindex="0">
2525
Save
2626
</div>
2727
```

0 commit comments

Comments
 (0)