2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-12-19 11:57:07 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Accessibility - PrimeVue</Title>
|
|
|
|
<Meta name="description" content="Accessible Vue UI Components." />
|
|
|
|
</Head>
|
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
<div class="doc">
|
|
|
|
<div class="doc-main">
|
|
|
|
<div class="doc-intro">
|
|
|
|
<h1>Accessibility</h1>
|
|
|
|
<p>An introduction to accessibility and how it translates to Vue UI Components.</p>
|
2023-03-21 08:31:13 +00:00
|
|
|
<p class="line-height-3 bg-indigo-600 text-white p-3 text-lg" style="border-radius: 10px">PrimeVue has WCAG 2.1 AA level compliancy. Refer to the accessibility documentation of each component for detailed information.</p>
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
2023-02-28 08:29:30 +00:00
|
|
|
<DocSections :docs="docs" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
2023-02-28 08:29:30 +00:00
|
|
|
<DocSectionNav :docs="docs" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-09-21 11:21:43 +00:00
|
|
|
import ColorsDoc from '@/doc/accessibility/ColorsDoc.vue';
|
|
|
|
import FormControlsDoc from '@/doc/accessibility/FormControlsDoc.vue';
|
|
|
|
import IntroductionDoc from '@/doc/accessibility/IntroductionDoc.vue';
|
|
|
|
import SemanticHTMLDoc from '@/doc/accessibility/SemanticHTMLDoc.vue';
|
|
|
|
import WAIAriaDoc from '@/doc/accessibility/WAIAriaDoc.vue';
|
|
|
|
import WCAGDoc from '@/doc/accessibility/WCAGDoc.vue';
|
2023-02-28 08:29:30 +00:00
|
|
|
|
2022-09-09 20:41:18 +00:00
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
2023-02-28 08:29:30 +00:00
|
|
|
checked: false,
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'introduction',
|
|
|
|
label: 'Introduction',
|
|
|
|
component: IntroductionDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'wcag',
|
|
|
|
label: 'WCAG',
|
|
|
|
component: WCAGDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'formcontrols',
|
|
|
|
label: 'Form Controls',
|
|
|
|
component: FormControlsDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'semantichtml',
|
|
|
|
label: 'Semantic HTML',
|
|
|
|
component: SemanticHTMLDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'waiaria',
|
|
|
|
label: 'WAI ARIA',
|
|
|
|
component: WAIAriaDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'colors',
|
|
|
|
label: 'Colors',
|
|
|
|
component: ColorsDoc
|
|
|
|
}
|
|
|
|
]
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|