Merge pull request #7382 from quantumwebco/fix/tab-prev-next-button-type
fix: tablist prev/next button typepull/7398/head
commit
495339b282
|
@ -3,6 +3,7 @@
|
||||||
<button
|
<button
|
||||||
v-if="showNavigators && isPrevButtonEnabled"
|
v-if="showNavigators && isPrevButtonEnabled"
|
||||||
ref="prevButton"
|
ref="prevButton"
|
||||||
|
type="button"
|
||||||
v-ripple
|
v-ripple
|
||||||
:class="cx('prevButton')"
|
:class="cx('prevButton')"
|
||||||
:aria-label="prevButtonAriaLabel"
|
:aria-label="prevButtonAriaLabel"
|
||||||
|
@ -14,14 +15,17 @@
|
||||||
<component :is="templates.previcon || 'ChevronLeftIcon'" aria-hidden="true" v-bind="ptm('prevIcon')" />
|
<component :is="templates.previcon || 'ChevronLeftIcon'" aria-hidden="true" v-bind="ptm('prevIcon')" />
|
||||||
</button>
|
</button>
|
||||||
<div ref="content" :class="cx('content')" @scroll="onScroll" v-bind="ptm('content')">
|
<div ref="content" :class="cx('content')" @scroll="onScroll" v-bind="ptm('content')">
|
||||||
<div ref="tabs" :class="cx('tabList')" role="tablist" :aria-orientation="$pcTabs.orientation || 'horizontal'" v-bind="ptm('tabList')">
|
<div ref="tabs" :class="cx('tabList')" role="tablist"
|
||||||
|
:aria-orientation="$pcTabs.orientation || 'horizontal'" v-bind="ptm('tabList')">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<span ref="inkbar" :class="cx('activeBar')" role="presentation" aria-hidden="true" v-bind="ptm('activeBar')"></span>
|
<span ref="inkbar" :class="cx('activeBar')" role="presentation" aria-hidden="true"
|
||||||
|
v-bind="ptm('activeBar')"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
v-if="showNavigators && isNextButtonEnabled"
|
v-if="showNavigators && isNextButtonEnabled"
|
||||||
ref="nextButton"
|
ref="nextButton"
|
||||||
|
type="button"
|
||||||
v-ripple
|
v-ripple
|
||||||
:class="cx('nextButton')"
|
:class="cx('nextButton')"
|
||||||
:aria-label="nextButtonAriaLabel"
|
:aria-label="nextButtonAriaLabel"
|
||||||
|
|
Loading…
Reference in New Issue