Skip to content

Commit 05c784e

Browse files
committed
fix(svelte): wrap table header in <thead> for semantic HTML compliance
1 parent 0dd509f commit 05c784e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/LimitedTableList.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ let realLimit = $derived(expanded ? Infinity : initialLimit);
2727

2828
<div class="table-container">
2929
<table class="data-table">
30-
{@render header?.()}
30+
<thead>
31+
{@render header?.()}
32+
</thead>
3133
<tbody>
3234
{#each items.slice(0, realLimit) as row}
3335
{@render item?.({ item: row })}

0 commit comments

Comments
 (0)