mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3783 - Splitter: a couple of errors related to aria-* attributes
This commit is contained in:
parent
9f3fd58ec5
commit
1ef494f131
1 changed files with 2 additions and 11 deletions
|
@ -2,17 +2,8 @@
|
||||||
<div :class="containerClass">
|
<div :class="containerClass">
|
||||||
<template v-for="(panel, i) of panels" :key="i">
|
<template v-for="(panel, i) of panels" :key="i">
|
||||||
<component :is="panel" tabindex="-1"></component>
|
<component :is="panel" tabindex="-1"></component>
|
||||||
<div
|
<div v-if="i !== panels.length - 1" class="p-splitter-gutter" @mousedown="onGutterMouseDown($event, i)" @touchstart="onGutterTouchStart($event, i)" @touchmove="onGutterTouchMove($event, i)" @touchend="onGutterTouchEnd($event, i)">
|
||||||
v-if="i !== panels.length - 1"
|
<div class="p-splitter-gutter-handle" tabindex="0" :style="gutterStyle" role="separator" :aria-orientation="layout" :aria-valuenow="prevSize" @keyup="onGutterKeyUp" @keydown="onGutterKeyDown($event, i)"></div>
|
||||||
class="p-splitter-gutter"
|
|
||||||
role="separator"
|
|
||||||
tabindex="-1"
|
|
||||||
@mousedown="onGutterMouseDown($event, i)"
|
|
||||||
@touchstart="onGutterTouchStart($event, i)"
|
|
||||||
@touchmove="onGutterTouchMove($event, i)"
|
|
||||||
@touchend="onGutterTouchEnd($event, i)"
|
|
||||||
>
|
|
||||||
<div class="p-splitter-gutter-handle" tabindex="0" :style="gutterStyle" :aria-orientation="layout" :aria-valuenow="prevSize" @keyup="onGutterKeyUp" @keydown="onGutterKeyDown($event, i)"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue