Skip to content

Commit 7cf8cfb

Browse files
timtyrrellbeefancohen
authored andcommitted
[docs] - Update onclick-has-focus documentation (#49)
1 parent 4c54152 commit 7cf8cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/onclick-has-focus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This rule takes no arguments.
2929
<!-- Good: anchor element with href is inherently focusable -->
3030
<a href="javascript:void(0);" onClick="doSomething();">Click ALL the things!</a>
3131
<!-- Good: buttons are inherently focusable -->
32-
<button onClick="doSomething();">Click the button :)</a>
32+
<button onClick="doSomething();">Click the button :)</button>
3333
```
3434

3535
### Fail

0 commit comments

Comments
 (0)