Skip to content

Commit

Permalink
fix(VProgressLinear): set aria-valuenow to current value (#20845)
Browse files Browse the repository at this point in the history
fixes #19894
  • Loading branch information
SonTT19 authored Jan 15, 2025
1 parent bfc25df commit f9ac620
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const VProgressLinear = genericComponent<VProgressLinearSlots>()({
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 && (
Expand Down

0 comments on commit f9ac620

Please sign in to comment.