diff --git a/packages/ui/src/components/va-slider/VaSlider.vue b/packages/ui/src/components/va-slider/VaSlider.vue index d1901efb30..134ec3d188 100644 --- a/packages/ui/src/components/va-slider/VaSlider.vue +++ b/packages/ui/src/components/va-slider/VaSlider.vue @@ -695,7 +695,7 @@ export default defineComponent({ 'aria-valuemax': props.max, 'aria-label': !slots.label && !props.label ? `current slider value is ${String(props.modelValue)}` : undefined, 'aria-labelledby': slots.label || props.label ? ariaLabelIdComputed.value : undefined, - 'aria-orientation': props.vertical ? 'vertical' : 'horizontal', + 'aria-orientation': (props.vertical ? 'vertical' : 'horizontal') as 'vertical' | 'horizontal', 'aria-disabled': props.disabled, 'aria-readonly': props.readonly, 'aria-valuenow': !Array.isArray(props.modelValue) ? props.modelValue : undefined,