Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/super_sidebar/components/brand_logo.vue')
-rw-r--r--app/assets/javascripts/super_sidebar/components/brand_logo.vue14
1 files changed, 11 insertions, 3 deletions
diff --git a/app/assets/javascripts/super_sidebar/components/brand_logo.vue b/app/assets/javascripts/super_sidebar/components/brand_logo.vue
index 1589f4978e1..02cf36fb053 100644
--- a/app/assets/javascripts/super_sidebar/components/brand_logo.vue
+++ b/app/assets/javascripts/super_sidebar/components/brand_logo.vue
@@ -26,20 +26,28 @@ export default {
<template>
<a
- v-gl-tooltip:super-sidebar.hover.noninteractive.bottom.ds500="$options.i18n.homepage"
+ v-gl-tooltip:super-sidebar.hover.bottom="$options.i18n.homepage"
class="brand-logo"
:href="rootPath"
- :title="$options.i18n.homepage"
data-track-action="click_link"
data-track-label="gitlab_logo_link"
data-track-property="nav_core_menu"
>
+ <span class="gl-sr-only">{{ $options.i18n.homepage }}</span>
+ <!-- eslint-disable @gitlab/vue-require-i18n-attribute-strings -->
<img
v-if="logoUrl"
+ alt=""
data-testid="brand-header-custom-logo"
:src="logoUrl"
class="gl-h-6 gl-max-w-full"
/>
- <span v-else v-safe-html="$options.logo" data-testid="brand-header-default-logo"></span>
+ <!-- eslint-enable @gitlab/vue-require-i18n-attribute-strings -->
+ <span
+ v-else
+ v-safe-html="$options.logo"
+ aria-hidden
+ data-testid="brand-header-default-logo"
+ ></span>
</a>
</template>