Steps: aria-current added to active item
parent
b9fd3ddc65
commit
8d6a0b7150
|
@ -6,6 +6,7 @@
|
||||||
v-if="visible(item)"
|
v-if="visible(item)"
|
||||||
:class="[cx('menuitem', { item, index }), item.class]"
|
:class="[cx('menuitem', { item, index }), item.class]"
|
||||||
:style="item.style"
|
:style="item.style"
|
||||||
|
:aria-current="isActive(index) ? 'step' : undefined"
|
||||||
@click="onItemClick($event, item, index)"
|
@click="onItemClick($event, item, index)"
|
||||||
@keydown="onItemKeydown($event, item, index)"
|
@keydown="onItemKeydown($event, item, index)"
|
||||||
v-bind="getPTOptions('menuitem', item, index)"
|
v-bind="getPTOptions('menuitem', item, index)"
|
||||||
|
|
Loading…
Reference in New Issue