mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Move tabindex to input element
This commit is contained in:
parent
21f75afdca
commit
5a11a493dd
1 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
|||
<input
|
||||
bind:this="{ref}"
|
||||
type="checkbox"
|
||||
tabindex="-1"
|
||||
tabindex="{tabindex}"
|
||||
class:bx--tile-input="{true}"
|
||||
checked="{selected}"
|
||||
id="{id}"
|
||||
|
@ -65,7 +65,6 @@
|
|||
/>
|
||||
<label
|
||||
for="{id}"
|
||||
tabindex="{tabindex}"
|
||||
class:bx--tile="{true}"
|
||||
class:bx--tile--selectable="{true}"
|
||||
class:bx--tile--is-selected="{selected}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue