diff --git a/api-generator/components/toolbar.js b/api-generator/components/toolbar.js index 96851ae87..a9484f8ef 100644 --- a/api-generator/components/toolbar.js +++ b/api-generator/components/toolbar.js @@ -1,3 +1,12 @@ +const ToolbarProps = [ + { + name: "aria-labelledby", + type: "string", + default: "null", + description: "Defines a string value that labels an interactive element." + } +]; + const ToolbarSlots = [ { name: "start", @@ -13,6 +22,7 @@ module.exports = { toolbar: { name: "Toolbar", description: "Toolbar is a grouping component for buttons and other content.", + props: ToolbarProps, slots: ToolbarSlots } }; diff --git a/src/components/toolbar/Toolbar.d.ts b/src/components/toolbar/Toolbar.d.ts index d3a7e1991..19885b856 100755 --- a/src/components/toolbar/Toolbar.d.ts +++ b/src/components/toolbar/Toolbar.d.ts @@ -2,6 +2,10 @@ import { VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export interface ToolbarProps { + /** + * Defines a string value that labels an interactive element. + */ + "aria-labelledby"?: string | undefined; } export interface ToolbarSlots { diff --git a/src/components/toolbar/Toolbar.vue b/src/components/toolbar/Toolbar.vue index 8fb5b2a1f..ac5afb4bf 100755 --- a/src/components/toolbar/Toolbar.vue +++ b/src/components/toolbar/Toolbar.vue @@ -1,5 +1,5 @@