Skip to content

Commit 347694b

Browse files
authored
fix(Table): add scope attribute to headers (#4417)
1 parent 0218803 commit 347694b

File tree

3 files changed

+235
-234
lines changed

3 files changed

+235
-234
lines changed

‎src/runtime/components/Table.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ defineExpose({
354354
v-for="header in headerGroup.headers"
355355
:key="header.id"
356356
:data-pinned="header.column.getIsPinned()"
357+
:scope="header.colSpan > 1 ? 'colgroup' : 'col'"
357358
:colspan="header.colSpan > 1 ? header.colSpan : undefined"
358359
:class="ui.th({
359360
class: [

0 commit comments

Comments
 (0)