primevue-mirror/apps/showcase/doc/inputotp/AccessibilityDoc.vue

37 lines
1.4 KiB
Vue
Raw Normal View History

2024-02-21 18:38:16 +00:00
<template>
<DocSectionText id="accessibility" label="Accessibility" v-bind="$attrs">
<h3>Screen Reader</h3>
<p>Input OTP uses a set of InputText components, refer to the <NuxtLink to="/inputtext">InputText</NuxtLink> component for more information about the screen reader support.</p>
<h3>Keyboard Support</h3>
<div class="doc-tablewrapper">
<table class="doc-table">
<thead>
<tr>
<th>Key</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td><i>tab</i></td>
<td>Moves focus to the input otp.</td>
</tr>
<tr>
<td><i>right arrow</i></td>
<td>Moves focus to the next input element.</td>
</tr>
<tr>
<td><i>left arrow</i></td>
<td>Moves focus to the previous input element.</td>
</tr>
<tr>
<td><i>backspace</i></td>
<td>Deletes the input and moves focus to the previous input element.</td>
2024-02-21 18:38:16 +00:00
</tr>
</tbody>
</table>
</div>
</DocSectionText>
</template>