From 64e8742da76e02e596885988bef2cb97262cc0fc Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 24 Apr 2024 23:43:09 +0100 Subject: [PATCH] Update Accordion demo --- doc/accordion/AccessibilityDoc.vue | 4 +- doc/accordion/BasicDoc.vue | 194 ++++++++++++++---------- doc/accordion/ControlledDoc.vue | 220 ++++++++++++++++----------- doc/accordion/DisabledDoc.vue | 207 +++++++++++++++---------- doc/accordion/DynamicDoc.vue | 64 ++++---- doc/accordion/ImportDoc.vue | 4 +- doc/accordion/MultipleDoc.vue | 191 +++++++++++++---------- doc/accordion/TemplateDoc.vue | 226 +++++++++++++++------------- doc/accordion/pt/index.vue | 19 +++ doc/accordion/theming/StyledDoc.vue | 12 +- pages/accordion/index.vue | 4 +- 11 files changed, 679 insertions(+), 466 deletions(-) diff --git a/doc/accordion/AccessibilityDoc.vue b/doc/accordion/AccessibilityDoc.vue index d52342ccc..b81696beb 100644 --- a/doc/accordion/AccessibilityDoc.vue +++ b/doc/accordion/AccessibilityDoc.vue @@ -2,8 +2,8 @@

Screen Reader

- Accordion header elements have a button role and use aria-controls to define the id of the content section along with aria-expanded for the visibility state. The value to read a header element defaults to the value of - the header property and can be customized by defining an aria-label or aria-labelledby via the headerActionProps property. + Accordion header elements is a button element and use aria-controls to define the id of the content section along with aria-expanded for the visibility state. The value to read a header element defaults to the value + of the header property and can be customized by defining an aria-label or aria-labelledby via the pt property.

The content uses region role, defines an id that matches the aria-controls of the header and aria-labelledby referring to the id of the header.

diff --git a/doc/accordion/BasicDoc.vue b/doc/accordion/BasicDoc.vue index 879f94eed..6a2996eaf 100644 --- a/doc/accordion/BasicDoc.vue +++ b/doc/accordion/BasicDoc.vue @@ -1,27 +1,39 @@