diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-22 00:11:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-22 00:11:08 +0300 |
commit | 2c6206c96169dd73b037c1aa4173dabe26ae4377 (patch) | |
tree | 26133622c96323eb7596a433564b06b9eb73d02d /app/assets/javascripts/super_sidebar/components | |
parent | 68f3080dabb6e796903873cc225688e80ca6f904 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/super_sidebar/components')
-rw-r--r-- | app/assets/javascripts/super_sidebar/components/brand_logo.vue | 12 |
1 files changed, 10 insertions, 2 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..2e5499b6bbf 100644 --- a/app/assets/javascripts/super_sidebar/components/brand_logo.vue +++ b/app/assets/javascripts/super_sidebar/components/brand_logo.vue @@ -29,17 +29,25 @@ export default { v-gl-tooltip:super-sidebar.hover.noninteractive.bottom.ds500="$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> |