Skip to content

Commit

Permalink
add alt tag to flags
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBout committed Jan 8, 2025
1 parent b1e6d54 commit 20fab06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FooterComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ server
:class="'link no-external-icon' + (currentLocale === locale ? ' current' : '')"
@click="changeLanguage(locale)"
>
<img class="flag" :src="`/images/flags/${iconsByLocale[locale]}.svg`" />
<img class="flag" :alt="`${iconsByLocale} flag`" :src="`/images/flags/${iconsByLocale[locale]}.svg`" />
<span>
{{ $t("language." + locale) }}
</span>
Expand Down

0 comments on commit 20fab06

Please sign in to comment.