diff --git a/api-generator/components/checkbox.js b/api-generator/components/checkbox.js index b6e41aee9..74cbb1deb 100644 --- a/api-generator/components/checkbox.js +++ b/api-generator/components/checkbox.js @@ -70,6 +70,18 @@ const CheckboxProps = [ type: "any", default: "null", description: "Inline style of the input field." + }, + { + name: "aria-labelledby", + type: "string", + default: "null", + description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs." + }, + { + name: "aria-label", + type: "string", + default: "null", + description: "Used to define a string that labels the element." } ]; diff --git a/api-generator/components/colorpicker.js b/api-generator/components/colorpicker.js index 31a4a5f40..8c561d329 100644 --- a/api-generator/components/colorpicker.js +++ b/api-generator/components/colorpicker.js @@ -47,12 +47,6 @@ const ColorPickerProps = [ default: "true", description: "Whether to automatically manage layering." }, - { - 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: "panelClass", type: "string", @@ -64,6 +58,18 @@ const ColorPickerProps = [ type: "string", default: "body", description: '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.' + }, + { + name: "aria-labelledby", + type: "string", + default: "null", + description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs." + }, + { + name: "aria-label", + type: "string", + default: "null", + description: "Used to define a string that labels the element." } ]; diff --git a/api-generator/components/treeselect.js b/api-generator/components/treeselect.js index 139e518fe..0ce81e756 100644 --- a/api-generator/components/treeselect.js +++ b/api-generator/components/treeselect.js @@ -88,6 +88,18 @@ const TreeSelectProps = [ type: "boolean", default: "true", description: "Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically." + }, + { + name: "aria-labelledby", + type: "string", + default: "null", + description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs." + }, + { + name: "aria-label", + type: "string", + default: "null", + description: "Used to define a string that labels the element." } ]; diff --git a/api-generator/components/tristatecheckbox.js b/api-generator/components/tristatecheckbox.js index 7ad12dc7d..f23f084bb 100644 --- a/api-generator/components/tristatecheckbox.js +++ b/api-generator/components/tristatecheckbox.js @@ -16,6 +16,18 @@ const TriStateCheckboxProps = [ type: "any", default: "null", description: "Inline of the component." + }, + { + name: "aria-labelledby", + type: "string", + default: "null", + description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs." + }, + { + name: "aria-label", + type: "string", + default: "null", + description: "Used to define a string that labels the element." } ]; diff --git a/src/components/checkbox/Checkbox.d.ts b/src/components/checkbox/Checkbox.d.ts index f81a0ee70..09e32f63d 100755 --- a/src/components/checkbox/Checkbox.d.ts +++ b/src/components/checkbox/Checkbox.d.ts @@ -57,6 +57,14 @@ export interface CheckboxProps { * */ inputProps?: object | undefined; + /** + * Establishes relationships between the component and label(s) where its value should be one or more element IDs. + */ + 'aria-labelledby'?: string | undefined; + /** + * Establishes a string value that labels the component. + */ + 'aria-label'?: string | undefined; } export interface CheckboxSlots { diff --git a/src/components/colorpicker/ColorPicker.d.ts b/src/components/colorpicker/ColorPicker.d.ts index cf7cbaa09..39e208560 100755 --- a/src/components/colorpicker/ColorPicker.d.ts +++ b/src/components/colorpicker/ColorPicker.d.ts @@ -53,10 +53,6 @@ export interface ColorPickerProps { * Default value is 0. */ baseZIndex?: number | undefined; - /** - * Establishes relationships between the component and label(s) where its value should be one or more element IDs. - */ - ariaLabelledBy?: string | undefined; /** * Style class of the overlay panel. */ diff --git a/src/components/colorpicker/ColorPicker.vue b/src/components/colorpicker/ColorPicker.vue index e56d68a42..2167700f0 100755 --- a/src/components/colorpicker/ColorPicker.vue +++ b/src/components/colorpicker/ColorPicker.vue @@ -1,7 +1,7 @@