Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add aria-label to VLogoButton (#1721)
Browse files Browse the repository at this point in the history
Co-authored-by: Zack Krida <zackkrida@pm.me>
  • Loading branch information
obulat and zackkrida authored Aug 23, 2022
1 parent d4c903f commit bf2de1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/VHeader/VLogoButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<VButton
as="VLink"
href="/"
:aria-label="$t('header.home-link')"
variant="plain"
size="disabled"
class="max-w-min text-dark-charcoal hover:bg-yellow"
Expand All @@ -16,6 +17,7 @@
:class="{
'hidden sm:block md:hidden': isSearchRoute,
}"
:aria-hidden="true"
width="95"
height="15"
/>
Expand Down
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
}
},
"header": {
"home-link": "Home",
"about-nav-item": "Our Story",
"source-nav-item": "Sources",
"search-guide-nav-item": "Search Guide",
Expand Down

0 comments on commit bf2de1e

Please sign in to comment.