Update CascadeSelect Accessibility

pull/2798/head
Tuğçe Küçükoğlu 2022-07-17 14:59:49 +03:00
parent 821f1f8b47
commit 56de5e98ce
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
<Portal :appendTo="appendTo"> <Portal :appendTo="appendTo">
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave"> <transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave">
<div :ref="overlayRef" :class="panelStyleClass" v-if="overlayVisible" @click="onOverlayClick" role="group"> <div :ref="overlayRef" :class="panelStyleClass" v-if="overlayVisible" @click="onOverlayClick" role="group">
<div class="p-cascadeselect-items-wrapper"> <div class="p-cascadeselect-items-wrapper" role="group">
<CascadeSelectSub :id="listId" role="tree" :options="options" :selectionPath="selectionPath" <CascadeSelectSub :id="listId" role="tree" :options="options" :selectionPath="selectionPath"
:optionLabel="optionLabel" :optionValue="optionValue" :level="0" :templates="$slots" :optionLabel="optionLabel" :optionValue="optionValue" :level="0" :templates="$slots"
:optionGroupLabel="optionGroupLabel" :optionGroupChildren="optionGroupChildren" :optionGroupLabel="optionGroupLabel" :optionGroupChildren="optionGroupChildren"

View File

@ -127,7 +127,7 @@ data() &#123;
</template> </template>
</code></pre> </code></pre>
<h5>Properties</h5> <h5>Properties</h5>
<p>Any property as style and class are passed to the main container element. Following are the additional properties to configure the component.</p> <p>Any property as style and class are passed to the main container element. Following are the additional properties to configure the component.</p>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
@ -411,7 +411,7 @@ data() &#123;
<td>Hides the popup and moves focus to the next tabbable element.</td> <td>Hides the popup and moves focus to the next tabbable element.</td>
</tr> </tr>
<tr> <tr>
<td><i>tab</i></td> <td><i>shift</i> + <i>tab</i></td>
<td>Hides the popup and moves focus to the previous tabbable element.</td> <td>Hides the popup and moves focus to the previous tabbable element.</td>
</tr> </tr>
<tr> <tr>