TabView role tablist fix
parent
6c5c50efca
commit
8daf7e9e76
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="cx('root')" v-bind="ptm('root')" data-pc-name="tabview">
|
<div :class="cx('root')" role="tablist" v-bind="ptm('root')" data-pc-name="tabview">
|
||||||
<div :class="cx('navContainer')" v-bind="ptm('navContainer')">
|
<div :class="cx('navContainer')" v-bind="ptm('navContainer')">
|
||||||
<button
|
<button
|
||||||
v-if="scrollable && !isPrevButtonDisabled"
|
v-if="scrollable && !isPrevButtonDisabled"
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
</slot>
|
</slot>
|
||||||
</button>
|
</button>
|
||||||
<div ref="content" :class="cx('navContent')" @scroll="onScroll" v-bind="ptm('navContent')">
|
<div ref="content" :class="cx('navContent')" @scroll="onScroll" v-bind="ptm('navContent')">
|
||||||
<ul ref="nav" :class="cx('nav')" role="tablist" v-bind="ptm('nav')">
|
<ul ref="nav" :class="cx('nav')" v-bind="ptm('nav')">
|
||||||
<li
|
<li
|
||||||
v-for="(tab, index) of tabs"
|
v-for="(tab, index) of tabs"
|
||||||
:key="getKey(tab, index)"
|
:key="getKey(tab, index)"
|
||||||
|
|
Loading…
Reference in New Issue