From 798d1340489c194da2d2b11f62a8b637048f6735 Mon Sep 17 00:00:00 2001 From: SonTT19 Date: Tue, 7 Jan 2025 13:37:46 +0700 Subject: [PATCH] fix(VProgressLinear): change aria-valuenow value to current value --- .../vuetify/src/components/VProgressLinear/VProgressLinear.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VProgressLinear/VProgressLinear.tsx b/packages/vuetify/src/components/VProgressLinear/VProgressLinear.tsx index 62a43b9a7ce..a00f892dd03 100644 --- a/packages/vuetify/src/components/VProgressLinear/VProgressLinear.tsx +++ b/packages/vuetify/src/components/VProgressLinear/VProgressLinear.tsx @@ -141,7 +141,7 @@ export const VProgressLinear = genericComponent()({ aria-hidden={ props.active ? 'false' : 'true' } aria-valuemin="0" aria-valuemax={ props.max } - aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value } + aria-valuenow={ props.indeterminate ? undefined : Math.min(parseFloat(progress.value), max.value) } onClick={ props.clickable && handleClick } > { props.stream && (