mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[style guide/accessibility] button or href for clicking (#13938)
This commit is contained in:
parent
1c2420b809
commit
221465f5e2
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ If you need a label only for screen readers use `aria-label`.
|
|||
|
||||
### Use `<button>` and `<a href>`
|
||||
|
||||
**TL;DR** *Use `<button>` and `<a>` (with `href`) instead of click listeners on other elements
|
||||
**TL;DR** *Use `<button>` or `<a>` (with `href`) instead of click listeners on other elements
|
||||
and style it whatever way you need.*
|
||||
|
||||
If you want to make an element clickable, use a `<button>` or `<a href>` element for it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue