From 38b4683485b21fb91e6ef17f7343497f67963edb Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 25 Apr 2024 00:54:39 +0100 Subject: [PATCH] Refactor --- doc/tabs/AccessibilityDoc.vue | 6 ++--- doc/tabs/TemplateDoc.vue | 48 +++++++++++++++-------------------- 2 files changed, 23 insertions(+), 31 deletions(-) diff --git a/doc/tabs/AccessibilityDoc.vue b/doc/tabs/AccessibilityDoc.vue index f21c70e91..a6e8cee4b 100644 --- a/doc/tabs/AccessibilityDoc.vue +++ b/doc/tabs/AccessibilityDoc.vue @@ -2,9 +2,9 @@

Screen Reader

- TabView container is defined with the tablist role, as any attribute is passed to the container element aria-labelledby can be optionally used to specify an element to describe the TabView. Each tab header has a - tab role along with aria-selected state attribute and aria-controls to refer to the corresponding tab content element. The content element of each tab has tabpanel role, an id to match the - aria-controls of the header and aria-labelledby reference to the header as the accessible name. + The tabs container in TabList is defined with the tablist role, as any attribute is passed to the container element aria-labelledby can be optionally used to specify an element to describe the Tabs. Each Tab has a + tab role along with aria-selected state attribute and aria-controls to refer to the corresponding TabPanel. TabPanel has tabpanel role, an id to match the aria-controls of Tab and + aria-labelledby reference to Tab as the accessible name.

Tab Keyboard Support

diff --git a/doc/tabs/TemplateDoc.vue b/doc/tabs/TemplateDoc.vue index 13b5cdb61..9de1da241 100644 --- a/doc/tabs/TemplateDoc.vue +++ b/doc/tabs/TemplateDoc.vue @@ -9,14 +9,12 @@ Amy Elsner - -
- - Onyama Limba -
+ + + Onyama Limba - -
+ +
Ioni Bowcher @@ -58,14 +56,12 @@ export default { Amy Elsner - -
- - Onyama Limba -
+ + + Onyama Limba - -
+ +
Ioni Bowcher @@ -101,14 +97,12 @@ export default { Amy Elsner - -
- - Onyama Limba -
+ + + Onyama Limba - -
+ +
Ioni Bowcher @@ -149,14 +143,12 @@ export default { Amy Elsner - -
- - Onyama Limba -
+ + + Onyama Limba - -
+ +
Ioni Bowcher