From 3df8b0eb1f129a161194da43724061a85cb7a347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 6 Jul 2022 14:57:49 +0300 Subject: [PATCH] Accessibility for SelectButton --- api-generator/components/selectbutton.js | 6 --- src/components/selectbutton/SelectButton.d.ts | 4 -- src/components/selectbutton/SelectButton.vue | 17 ++++--- src/views/selectbutton/SelectButtonDemo.vue | 10 ++-- src/views/selectbutton/SelectButtonDoc.vue | 48 ++++++++++++++----- 5 files changed, 52 insertions(+), 33 deletions(-) diff --git a/api-generator/components/selectbutton.js b/api-generator/components/selectbutton.js index 9ce34fdf0..e63a2062e 100644 --- a/api-generator/components/selectbutton.js +++ b/api-generator/components/selectbutton.js @@ -46,12 +46,6 @@ const SelectButtonProps = [ type: "string", default: "null", description: "A property to uniquely identify an option." - }, - { - name: "ariaLabelledBy", - type: "string", - default: "null", - description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs." } ]; diff --git a/src/components/selectbutton/SelectButton.d.ts b/src/components/selectbutton/SelectButton.d.ts index f9b9a3ca6..b3ed0b168 100755 --- a/src/components/selectbutton/SelectButton.d.ts +++ b/src/components/selectbutton/SelectButton.d.ts @@ -51,10 +51,6 @@ export interface SelectButtonProps { * A property to uniquely identify an option. */ dataKey?: string | undefined; - /** - * Establishes relationships between the component and label(s) where its value should be one or more element IDs. - */ - ariaLabelledBy?: string | undefined; } export interface SelectButtonSlots { diff --git a/src/components/selectbutton/SelectButton.vue b/src/components/selectbutton/SelectButton.vue index 55a608e02..20b7245c0 100755 --- a/src/components/selectbutton/SelectButton.vue +++ b/src/components/selectbutton/SelectButton.vue @@ -1,9 +1,8 @@