Skip to content

Commit 8f44173

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/lib/holocene/tab/tab.svelte

+1
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)