We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c54152 commit 7cf8cfbCopy full SHA for 7cf8cfb
docs/rules/onclick-has-focus.md
@@ -29,7 +29,7 @@ This rule takes no arguments.
29
<!-- Good: anchor element with href is inherently focusable -->
30
<a href="javascript:void(0);" onClick="doSomething();">Click ALL the things!</a>
31
<!-- Good: buttons are inherently focusable -->
32
-<button onClick="doSomething();">Click the button :)</a>
+<button onClick="doSomething();">Click the button :)</button>
33
```
34
35
### Fail
0 commit comments