Skip to content

Commit

Permalink
fix(build): inner loading aria types
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem committed Mar 23, 2023
1 parent c13d67d commit 9972dcd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<div class="va-inner-loading" :class="computedClass" v-bind="ariaAttributesComputed">
<div
class="va-inner-loading"
aria-live="polite"
:class="computedClass"
v-bind="ariaAttributesComputed"
>
<slot />
<div
v-if="$props.loading"
Expand Down Expand Up @@ -44,7 +49,6 @@ export default defineComponent({
'va-inner-loading--active': props.loading,
})),
ariaAttributesComputed: computed(() => ({
'aria-live': 'polite',
'aria-busy': props.loading,
})),
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/styles/global/css-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@

// Misc
--va-shadow: rgba(0, 0, 0, 0.12);
--va-focus: #49A8FF;
--va-focus: #49a8ff;
}

0 comments on commit 9972dcd

Please sign in to comment.