Add negative tabindex
This commit is contained in:
parent
b5b9c79f1c
commit
7f5e9b1b33
@ -32,6 +32,6 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<button>
|
||||
<button tabindex="-1">
|
||||
<span class={className}> <input type="color" on:change={onChange} /> </span>
|
||||
</button>
|
||||
|
@ -48,6 +48,7 @@
|
||||
<button
|
||||
class="p-1 {className}"
|
||||
class:active
|
||||
tabindex="-1"
|
||||
{disabled}
|
||||
on:click={onClick}
|
||||
on:mousedown|preventDefault>
|
||||
|
@ -18,4 +18,4 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<button type="button" class="btn btn-secondary" on:click> {label} </button>
|
||||
<button class="btn btn-secondary" tabindex="-1" on:click> {label} </button>
|
||||
|
Loading…
Reference in New Issue
Block a user