Commit b0fe9eca authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'aria-labels-for-pipeline' into 'master'

Add aria label to status and action icons

See merge request gitlab-org/gitlab!49689
parents 006a905f 4cb8308f
...@@ -91,6 +91,6 @@ export default { ...@@ -91,6 +91,6 @@ export default {
@click.stop="onClickAction" @click.stop="onClickAction"
> >
<gl-loading-icon v-if="isLoading" class="js-action-icon-loading" /> <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> </gl-button>
</template> </template>
...@@ -63,5 +63,7 @@ export default { ...@@ -63,5 +63,7 @@ export default {
}; };
</script> </script>
<template> <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> </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