mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Steps: aria-current added to active item
This commit is contained in:
parent
b9fd3ddc65
commit
8d6a0b7150
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
v-if="visible(item)"
|
||||
:class="[cx('menuitem', { item, index }), item.class]"
|
||||
:style="item.style"
|
||||
:aria-current="isActive(index) ? 'step' : undefined"
|
||||
@click="onItemClick($event, item, index)"
|
||||
@keydown="onItemKeydown($event, item, index)"
|
||||
v-bind="getPTOptions('menuitem', item, index)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue