Commit 4cb8308f authored by Sarah Groff Hennigh-Palermo's avatar Sarah Groff Hennigh-Palermo Committed by Andrew Fontaine

Add aria label to status and action icons

parent c6cdc324
......@@ -91,6 +91,6 @@ export default {
@click.stop="onClickAction"
>
<gl-loading-icon v-if="isLoading" class="js-action-icon-loading" />
<gl-icon v-else :name="actionIcon" class="gl-mr-0!" />
<gl-icon v-else :name="actionIcon" class="gl-mr-0!" :aria-label="actionIcon" />
</gl-button>
</template>
......@@ -63,5 +63,7 @@ export default {
};
</script>
<template>
<span :class="cssClass"> <gl-icon :name="icon" :size="size" :class="cssClasses" /> </span>
<span :class="cssClass">
<gl-icon :name="icon" :size="size" :class="cssClasses" :aria-label="status.icon" />
</span>
</template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment