Skip to content

Commit 37bf0c2

Browse files
committed
Fixed attr role for head and foot #309
1 parent 4df0044 commit 37bf0c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const EVENT_TYPE = {
1212
SLOT: 'slot_resize'
1313
}
1414
const SLOT_TYPE = {
15-
HEADER: 'header', // string value also use for aria role attribute
16-
FOOTER: 'footer'
15+
HEADER: 'thead', // string value also use for aria role attribute
16+
FOOTER: 'tfoot'
1717
}
1818

1919
const VirtualList = Vue.component('virtual-list', {

0 commit comments

Comments
 (0)