mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(content-switcher): Switch
should have type="button"
(#1104)
Fixes #1103
This commit is contained in:
parent
2f8d80f9f7
commit
1ad2ca404a
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
||||
<button
|
||||
bind:this="{ref}"
|
||||
type="button"
|
||||
role="tab"
|
||||
tabindex="{selected ? '0' : '-1'}"
|
||||
aria-selected="{selected}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue