Skip to content

Commit 8f44173

Browse files
authored
change element type to button (#2635)
1 parent 1b38365 commit 8f44173

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/holocene/tab/tab.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
<svelte:element
4747
this={href ? 'a' : 'button'}
48+
type={href ? undefined : 'button'}
4849
role="tab"
4950
class="tab"
5051
aria-selected={isActive}

0 commit comments

Comments
 (0)