diff --git a/packages/vue-output-target/vue-component-lib/utils.ts b/packages/vue-output-target/vue-component-lib/utils.ts index 526d3be4..9381dc91 100644 --- a/packages/vue-output-target/vue-component-lib/utils.ts +++ b/packages/vue-output-target/vue-component-lib/utils.ts @@ -9,7 +9,7 @@ const MODEL_VALUE = 'modelValue'; const ROUTER_LINK_VALUE = 'routerLink'; const NAV_MANAGER = 'navManager'; const ROUTER_PROP_PREFIX = 'router'; - +const ARIA_PROP_PREFIX = 'aria'; /** * Starting in Vue 3.1.0, all properties are * added as keys to the props object, even if @@ -155,7 +155,7 @@ export const defineContainer = ( */ for (const key in props) { const value = props[key]; - if (props.hasOwnProperty(key) && value !== EMPTY_PROP) { + if ((props.hasOwnProperty(key) && value !== EMPTY_PROP) || key.startsWith(ARIA_PROP_PREFIX)) { propsToAdd[key] = value; } }