Fixed #78 - Menu Component a11y issue

pull/104/head
cagataycivici 2019-11-01 11:33:45 +03:00
parent d9eb230bac
commit 0ad60de334
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<transition name="p-input-overlay" @enter="onEnter" @leave="onLeave">
<div ref="container" :class="containerClass" v-if="popup ? visible : true">
<ul class="p-menu-list p-reset">
<ul class="p-menu-list p-reset" role="menu">
<template v-for="(item, i) of model">
<template v-if="item.items">
<li class="p-submenu-header " :key="item.label+i" v-if="item.items">{{item.label}}</li>