Skip to content

Commit

Permalink
fix: set correct aria-label for logo link
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Dec 16, 2022
1 parent 21fb1dc commit 52f88d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/app/AppHeaderLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const title = computed(() => docus.value.header?.title || docus.value.title)
</script>

<template>
<NuxtLink class="navbar-logo" to="/" :aria-label="docus?.header?.title">
<NuxtLink class="navbar-logo" to="/" :aria-label="title">
<!-- Only Logo -->
<component :is="logo" v-if="logo && typeof logo === 'string'" />
<Logo v-else-if="logo" />
Expand Down

1 comment on commit 52f88d8

@vercel
Copy link

@vercel vercel bot commented on 52f88d8 Dec 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.