Skip to content

Commit

Permalink
fix(VProgressLinear): hide from accessibility tree if not active (#15964
Browse files Browse the repository at this point in the history
)
  • Loading branch information
paul-thebaud committed Nov 17, 2022
1 parent e9fe8ab commit 9fe2bbb
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -108,6 +108,7 @@ export const VProgressLinear = defineComponent({
'--v-progress-linear-height': convertToUnit(height.value),
}}
role="progressbar"
aria-hidden={ props.active ? 'false' : 'true' }
aria-valuemin="0"
aria-valuemax={ props.max }
aria-valuenow={ props.indeterminate ? undefined : normalizedValue.value }
Expand Down

0 comments on commit 9fe2bbb

Please sign in to comment.