mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Merged new Docs and Demos
This commit is contained in:
parent
296cc217fb
commit
dfcc8ef4e7
1235 changed files with 130757 additions and 122640 deletions
52
doc/image/AccessibilityDoc.vue
Normal file
52
doc/image/AccessibilityDoc.vue
Normal file
|
@ -0,0 +1,52 @@
|
|||
<template>
|
||||
<DocSectionText id="accessibility" label="Accessibility" v-bind="$attrs">
|
||||
<h3>Screen Reader</h3>
|
||||
<p>
|
||||
The preview button is a native <i>button</i> element with an <i>aria-label</i> that refers to the <i>aria.zoomImage</i> property of the <NuxtLink to="/locale">locale</NuxtLink> API by default, with <i>previewButtonProps</i>
|
||||
you may use your own aria roles and attributes as any valid attribute is passed to the button element implicitly.
|
||||
</p>
|
||||
|
||||
<p>When preview is active, <i>dialog</i> role with <i>aria-modal</i> is applied to the overlay image container.</p>
|
||||
|
||||
<p>Button controls use <i>aria.rotateRight</i>, <i>aria.rotateLeft</i>, <i>aria.zoomIn</i>, <i>aria.zoomOut</i> and <i>aria.close</i> from the <NuxtLink to="/locale">locale</NuxtLink> API as <i>aria-label</i>.</p>
|
||||
|
||||
<h3>ButtonBar Keyboard Support</h3>
|
||||
<p>When preview is activated, close button receives the initial focus.</p>
|
||||
<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 through button bar.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<i>enter</i>
|
||||
</td>
|
||||
<td>Activates the button.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<i>space</i>
|
||||
</td>
|
||||
<td>Activates the button.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<i>esc</i>
|
||||
</td>
|
||||
<td>Closes the image preview.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</DocSectionText>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue