From 10e6a902ae656ff2969a42154a5a1eb171889dbc 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: Fri, 8 Jul 2022 13:17:35 +0300 Subject: [PATCH] Update Accessibility for CascadeSelect --- api-generator/components/cascadeselect.js | 6 ------ src/components/cascadeselect/CascadeSelect.d.ts | 4 ---- src/components/cascadeselect/CascadeSelect.vue | 3 +-- src/views/cascadeselect/CascadeSelectDoc.vue | 6 ------ 4 files changed, 1 insertion(+), 18 deletions(-) diff --git a/api-generator/components/cascadeselect.js b/api-generator/components/cascadeselect.js index 6b8efbb40..6578cb2cb 100644 --- a/api-generator/components/cascadeselect.js +++ b/api-generator/components/cascadeselect.js @@ -65,12 +65,6 @@ const CascadeSelectProps = [ default: "null", description: "Identifier of the underlying input element." }, - { - 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." - }, { name: "appendTo", type: "string", diff --git a/src/components/cascadeselect/CascadeSelect.d.ts b/src/components/cascadeselect/CascadeSelect.d.ts index fb2fe085c..5835ea2be 100644 --- a/src/components/cascadeselect/CascadeSelect.d.ts +++ b/src/components/cascadeselect/CascadeSelect.d.ts @@ -74,10 +74,6 @@ export interface CascadeSelectProps { * Identifier of the underlying input element. */ inputId?: string | undefined; - /** - * Establishes relationships between the component and label(s) where its value should be one or more element IDs. - */ - ariaLabelledBy?: string | undefined; /** * A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself. * @see CascadeSelectAppendToType diff --git a/src/components/cascadeselect/CascadeSelect.vue b/src/components/cascadeselect/CascadeSelect.vue index 58a06b038..69442651a 100644 --- a/src/components/cascadeselect/CascadeSelect.vue +++ b/src/components/cascadeselect/CascadeSelect.vue @@ -2,7 +2,7 @@
+ aria-haspopup="listbox" :aria-expanded="overlayVisible" :aria-controls="listId" v-bind="inputProps" />
@@ -58,7 +58,6 @@ export default { dataKey: null, inputId: String, tabindex: String, - ariaLabelledBy: null, appendTo: { type: String, default: 'body' diff --git a/src/views/cascadeselect/CascadeSelectDoc.vue b/src/views/cascadeselect/CascadeSelectDoc.vue index a40af6980..bd2dbf362 100644 --- a/src/views/cascadeselect/CascadeSelectDoc.vue +++ b/src/views/cascadeselect/CascadeSelectDoc.vue @@ -206,12 +206,6 @@ data() { null Identifier of the underlying input element. - - ariaLabelledBy - string - null - Establishes relationships between the component and label(s) where its value should be one or more element IDs. - appendTo string